NativeScript sampleGroceries应用程序无法编译

时间:2016-06-11 19:43:14

标签: android node.js nativescript

我开始学习nativescript并尝试在主站点上关注指南。但是当我试图用Building 54% > :mergeF0DebugResources编译这个helloworld应用程序时,我的shell被卡住了   <?xml version="1.0" encoding="utf-8"?> <group android:checkableBehavior="single"> <item android:id="@+id/nav_home" android:icon="@drawable/ic_home_black" android:title="Startseite" /> <item android:id="@+id/nav_greetings" android:title="Grußwort"/> </group> <group android:checkableBehavior="single"> <item android:title="Neuigkeiten"> <menu > <item android:id="@+id/nav_information" android:icon="@drawable/ic_info_black" android:title="@string/title_activity_aktuelles" /> </menu> </item> </group> ....

这是完整输出a constant in the unix package

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

日志说:

Exception in thread "png-cruncher_20" java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at /home/kirill/Загрузки/android-sdk-linux/build-tools/23.0.2/aapt can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds

它表明它是反病毒的,也提出了一个解决方案: 将环境变量SLAVE_AAPT_TIMEOUT设置为大于5秒的值