无法在 Appcelerator Studio 中构建
Unable to build in Appcelerator Studio
我对 Appcelerator Studio 有疑问。构建过程卡住了一点:
[INFO] : Running dexer: C:\Program Files\Java\jdk1.8.0_60\bin\java.exe "-Xmx512M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=C:\android-sdk-win\platform-tools" "-jar" "C:\android-sdk-win\build-tools.0.1\lib\dx.jar" "--dex" "--output=C:\Users\vasilis\Documents\Titanium Projects\pop\build\android\bin\classes.dex" "C:\Users\vasilis\Documents\Titanium Projects\pop\build\android\bin\classes" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\lib\titanium-verify.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.map.2.3\map.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.map.2.3\lib\google-play-services.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush.4.0\cloudpush.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush.4.0\lib\aps-cloudpush-1.1.4.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush.4.0\lib\google-play-services-base.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush.4.0\lib\google-play-services-gcm.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\ti.sq[=10=].2\tisq.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\com.gbaldera.titouchgallery.1\titouchgallery.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\com.rkam.swiperefreshlayout[=10=].5\swiperefreshlayout.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\kroll-v8.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-analytics.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\aps-analytics.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-android.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\jaxen-1.1.1.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\ti-commons-codec-1.3.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\kroll-common.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\titanium.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-app.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-ui.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\nineoldandroids-appc-2.4.0.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-filesystem.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-media.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-appcompat.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\android-support-v4.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\android-support-v7-appcompat.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-locale.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-network.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\thirdparty.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-xml.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-utils.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-geolocation.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-accelerometer.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-contacts.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-map.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-calendar.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-gesture.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-platform.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-database.jar"
然后返回一个错误
"Failed to run dexer"
我尝试卸载所有内容,包括 Android SDK 并再次安装,但没有成功
我的系统有 Windows 8.1 OS 64 位,我 运行 32 位和 64 位版本的 Java 因为我正在学习这个时期 Android工作室。
您为什么使用 3.5.1? 4.1.0已经有了,更新TiSDK,然后,运行这个命令和select最后一个版本。
appc ti sdk select
还要确保您有 android-sdk 23 和 platform-tool 21,检查 Appcelerator 文档中的“Installing the Android SDK”
也卸载jdk1.8然后安装1.7,必须是32位的
确保你有足够的磁盘 space,在安装 Android SDK 的同一分区中有 2 GB
最后检查每个认为是否正确安装运行这个命令
appc ti setup check
我对 Appcelerator Studio 有疑问。构建过程卡住了一点:
[INFO] : Running dexer: C:\Program Files\Java\jdk1.8.0_60\bin\java.exe "-Xmx512M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=C:\android-sdk-win\platform-tools" "-jar" "C:\android-sdk-win\build-tools.0.1\lib\dx.jar" "--dex" "--output=C:\Users\vasilis\Documents\Titanium Projects\pop\build\android\bin\classes.dex" "C:\Users\vasilis\Documents\Titanium Projects\pop\build\android\bin\classes" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\lib\titanium-verify.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.map.2.3\map.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.map.2.3\lib\google-play-services.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush.4.0\cloudpush.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush.4.0\lib\aps-cloudpush-1.1.4.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush.4.0\lib\google-play-services-base.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush.4.0\lib\google-play-services-gcm.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\ti.sq[=10=].2\tisq.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\com.gbaldera.titouchgallery.1\titouchgallery.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\com.rkam.swiperefreshlayout[=10=].5\swiperefreshlayout.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\kroll-v8.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-analytics.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\aps-analytics.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-android.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\jaxen-1.1.1.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\ti-commons-codec-1.3.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\kroll-common.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\titanium.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-app.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-ui.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\nineoldandroids-appc-2.4.0.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-filesystem.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-media.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-appcompat.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\android-support-v4.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\android-support-v7-appcompat.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-locale.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-network.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\thirdparty.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-xml.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-utils.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-geolocation.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-accelerometer.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-contacts.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-map.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-calendar.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-gesture.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-platform.jar" "C:\ProgramData\Titanium\mobilesdk\win32.5.1.GA\android\modules\titanium-database.jar"
然后返回一个错误
"Failed to run dexer"
我尝试卸载所有内容,包括 Android SDK 并再次安装,但没有成功
我的系统有 Windows 8.1 OS 64 位,我 运行 32 位和 64 位版本的 Java 因为我正在学习这个时期 Android工作室。
您为什么使用 3.5.1? 4.1.0已经有了,更新TiSDK,然后,运行这个命令和select最后一个版本。
appc ti sdk select
还要确保您有 android-sdk 23 和 platform-tool 21,检查 Appcelerator 文档中的“Installing the Android SDK”
也卸载jdk1.8然后安装1.7,必须是32位的
确保你有足够的磁盘 space,在安装 Android SDK 的同一分区中有 2 GB
最后检查每个认为是否正确安装运行这个命令
appc ti setup check