2016-07-01 7 views
2

nativescript食料品git repoの新しいクローンを作成し、angualr-startブランチをチェックアウトし、 'platform add android'、 'tns run android'デバイス接続) アプリが上がってきた、このエラーが表示される:nativescript 'tns run android'がClassNotFoundExceptionをスローする

java.lang.ClassNotFoundException: Didn't find class "com.tns.FragmentClass" on path: DexPathList[[zip file "/data/app/org.nativescript.groceries-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.groceries-1/lib/arm, /data/app/org.nativescript.groceries-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /systementer code here/lib]] 

策:ネイティブスクリプトへのアップグレード(とtns- pastebin.com/1YbThGkZ

は、おそらくエラーの最も重要な部分は、このことコアモジュール)v2.1

答えて

4

ネイティブスクリプト(およびtns-core-modules)へのアップグレードv2.1

sudo npm install nativescript -g --unsafe-perm 
tns plugin remove tns-core-modules 
tns plugin add tns-core modules 
関連する問題