gpt4 book ai didi

java - 无法在 Appcelerator Studio 中构建

转载 作者:行者123 更新时间:2023-12-02 04:23:13 25 4
gpt4 key购买 nike

我在使用 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\23.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\3.5.1.GA\android\lib\titanium-verify.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.map\2.2.3\map.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.map\2.2.3\lib\google-play-services.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.4.0\cloudpush.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.4.0\lib\aps-cloudpush-1.1.4.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.4.0\lib\google-play-services-base.jar" "C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.4.0\lib\google-play-services-gcm.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\ti.sq\0.2\tisq.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\com.gbaldera.titouchgallery\1.1\titouchgallery.jar" "C:\Users\vasilis\Documents\Titanium Projects\pop\modules\android\com.rkam.swiperefreshlayout\0.5\swiperefreshlayout.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\kroll-v8.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-analytics.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\aps-analytics.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-android.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\jaxen-1.1.1.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\ti-commons-codec-1.3.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\kroll-common.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\titanium.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-app.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-ui.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\nineoldandroids-appc-2.4.0.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-filesystem.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-media.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-appcompat.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\android-support-v4.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\android-support-v7-appcompat.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-locale.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-network.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\thirdparty.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-xml.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-utils.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-geolocation.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-accelerometer.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-contacts.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-map.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-calendar.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-gesture.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-platform.jar" "C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\modules\titanium-database.jar"

然后返回一个错误

"Failed to run dexer"

我尝试卸载所有内容,包括 Android SDK,然后重新安装,但没有成功

我的系统是Windows 8.1操作系统64位,我运行32位和64位版本的Java,因为我这段时间正在学习Android Studio。

最佳答案

为什么使用 3.5.1? 4.1.0 已经存在,更新 TiSDK,然后运行此命令并选择最新版本。

appc ti sdk select

还要确保您有 android-sdk 23 和 platform-tool 21,请从 Appcelerator 文档中检查“Installing the Android SDK

还要卸载jdk 1.8然后安装1.7,它必须是32位的。

确保您有足够的磁盘空间,与安装的 Android SDK 的同一分区有 2 GB

最后检查每个认为安装正确的运行此命令

appc ti setup check

关于java - 无法在 Appcelerator Studio 中构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32517892/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com