无法从钛appcelerator构建android

时间:2017-02-18 09:56:04

标签: titanium appcelerator titanium-mobile appcelerator-titanium titanium-android

当我试图为Android构建我的应用程序时,我从控制台收到以下错误:

[INFO] :   No aidl files to compile, continuing
[INFO] :   Generating i18n files
[INFO] :   Generating    /Users/xxx/Documents/Appcelerator_Studio_Workspace/jobmobile/build/android/res/values/theme.xml
[INFO] :   Packaging application: /Users/xxx/Library/android-sdk-macosx/build-tools/23.0.1/aapt "package" "-f" "-m" "-J" "/Users/xxx/Documents/Appcelerator_Studio_Workspace/jobmobile/build/android/gen" "-M" "/Users/xxx/Documents/Appcelerator_Studio_Workspace/jobmobile/build/android/AndroidManifest.xml" "-A" "/Users/xxx/Documents/Appcelerator_Studio_Workspace/jobmobile/build/android/bin/assets" "-S" "/Users/xxx/Documents/Appcelerator_Studio_Workspace/jobmobile/build/android/res" "-I" "/Users/xxx/Library/android-sdk-macosx/platforms/android-23/android.jar" "-F" "/Users/xxx/Documents/Appcelerator_Studio_Workspace/jobmobile/build/android/bin/app.ap_" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview:com.facebook" "-S" "/var/folders/13/d0dckfds7071zrrts33x0fgm0000gn/T/117118-27860-1lfl9l7/res" "-S" "/var/folders/13/d0dckfds7071zrrts33x0fgm0000gn/T/117118-27860-sgvk1n/res" "-S" "/var/folders/13/d0dckfds7071zrrts33x0fgm0000gn/T/117118-27860-tpzi5i/res"
[ERROR] :  Failed to package application:
[ERROR] :  
[ERROR] :  /Users/xxx/Documents/Appcelerator_Studio_Workspace/jobmobile/build/android/bin/assets/Resources/images/job-interim-jobinterim-tempwork-temporary-working-service-qarma-carma-app-jobapp-apple-google-mobile.png: error: Invalid filename.  Unable to add.

所以我无法将我的应用程序构建到android,ios运行良好。

感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

错误消息显示“文件名无效”。那么您是否应该将文件重命名为较短的名称?