1.4段階に応じてDellのInspironサンプル食料品はプラットフォームはアンドロイドの gradlew.batは終了コードで失敗しました
OS: Windows 10 Home
Processor: AMD A8-7410 APU with AMD Radeon R5 Graphics 2.20 GHz
Installed memory (RAM): 8.00 GB (6.94 GB usable)
System type: 64-bit Operating System, x64-based processor
を使用してAndroid用サンプル食料品アプリのNativeScript.orgのチュートリアルに従うことをしようとしますがここhttp://docs.nativescript.org/angular/tutorial/ng-chapter-1#11-install-nativescript-and-configure-your-environmentを見られるように、私は次のコマンドを実行した後、次のエラー(複数可)を取得:
Exception in thread "main" java.lang.IllegalArgumentException: Class android.support.graphics.drawable.AnimatedVectorDrawableCompat$AnimatedVectorDrawableCompatState conflict: C:\_Sandbox\NativeScript\sample-Groceries\platforms\android\build\intermediates\exploded-aar\com.android.support\animated-vector-drawable\23.4.0\jars\classes.jar and C:\_Sandbox\NativeScript\sample-Groceries\platforms\android\build\intermediates\exploded-aar\com.android.support\animated-vector-drawable\23.3.0\jars\classes.jar
at com.telerik.metadata.ClassRepo.cacheJarFile(ClassRepo.java:21)
at com.telerik.metadata.Builder.build(Builder.java:39)
at com.telerik.metadata.Generator.main(Generator.java:44)
:buildMetadata FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildMetadata'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_92\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 19.102 secs
Command C:\_Sandbox\NativeScript\sample-Groceries\platforms\android\gradlew.bat failed with exit code 1
# run android
0123:ここ
tns run android --emulator
は例外です
私も、以下のログファイルが含まれている:
を(ファイルが大きすぎる、ここにリンクがある)
'tns doctor'コマンドを実行しましたか?それはすべてが環境とうまくいくことを示していますか? – mi6crazyheart
TNSドクターはい –
をもたらし、そして私は次の出力を得る:コンポーネント│現在のバージョン││ \t最新版│情報││nativescript 2.0.1││2.1.0のアップデート公開│ \t利用可能なアップデート \t \tを│いいえ問題が検出されなかった \t \tを││利用可能2.0.0 2.1.0││更新 \t│TNS-IOSを││利用可能2.0.0 2.1.0││更新 \t│TNS-コアモジュール。 –