Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3512] "Failed to run dexer" error for SDK more recent than 3.5.1

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-05-03T19:10:38.000+0000
Affected Version/sAppcelerator Studio 4.3.0, Appcelerator Studio 4.3.1, Appcelerator Studio 4.3.2, Appcelerator Studio 4.4.0, Appcelerator Studio 4.4.1, Appcelerator Studio 4.4.2, Appcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsDEXER
ReporterAndrea
AssigneeShak Hossain
Created2016-04-16T18:33:04.000+0000
Updated2016-05-03T19:10:38.000+0000

Description

I can't generate ipa file for my android app with titanium sdk more recent than 3.5.1. For example if I try with titanium sdk 5.2.2 GA (or 4.0.0) I have the following error: [ERROR] : Failed to run dexer: [ERROR] : [ERROR] : Error: Unable to access jarfile null If I try titanium sdk 3.5.1 GA I'm able to generate ipa file, but of course it is not the best solution because the app doesn't work well with such an old sdk version. I've tried to uninstall and re-install Titanium Appcelerator. I've also tried to re-install Android SDK.

Comments

  1. Andrea 2016-04-17

    Here it is also the build log: Operating System Name = Mac OS X Version = 10.10.5 Architecture = 64bit # CPUs = 4 Memory = 8589934592 Node.js Node.js Version = 0.12.7 npm Version = 2.11.3 Titanium CLI CLI Version = 5.0.6 Titanium SDK SDK Version = 5.2.2.GA SDK Path = /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA Target Platform = android Command /usr/local/bin/node /Users/Myproject/.appcelerator/install/5.2.2/package/node_modules/titanium/lib/titanium.js build run --platform android --log-level trace --sdk 5.2.2.GA --project-dir /Users/Myproject/Documents/Titanium_Studio_Android/MyProject --target device --android-sdk /Users/Myproject/Library/Android/sdk --device-id 42037df2d6298100 --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 65033 --config-file /var/folders/lf/c8kqrz1j1330q0t1vx1kf6fc0000gp/T/build-1460879753007.json --no-banner --project-dir /Users/Myproject/Documents/Titanium_Studio_Android/MyProject [INFO] : Found Titanium module id=ti.imagefactory version=2.2.1 platform=android deploy-type=test path=/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/modules/android/ti.imagefactory/2.2.1 [INFO] : Found Titanium module id=fh.imagefactory version=1.1 platform=android deploy-type=test path=/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/modules/android/fh.imagefactory/1.1 [INFO] : Found Titanium module id=facebook version=5.0.0 platform=android deploy-type=test path=/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0 [INFO] : Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=test path=/Users/Myproject/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.9 [INFO] : Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=test path=/Users/Myproject/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.10 [INFO] : Deploy type: test [INFO] : Building for target: device [INFO] : Building for device: 42037df2d6298100 [INFO] : Targeting Android SDK API: 23 [INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86 [INFO] : Signing with keystore: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/dev_keystore (tidev) [INFO] : Debugging disabled [INFO] : Profiler disabled [INFO] : Forcing rebuild: JavaScript files need to be re-encrypted [INFO] : JavaScript files need to be encrypted [INFO] : Processing JavaScript files [INFO] : Encrypting JavaScript files: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/titanium_prep.macos "com.Myproject.Myproject" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/assets" "accetta.js" "app.js" "elenco_categorie.js" "bg.js" "commonJs/Exif.js" "commonJs/share.js" "elenco_domande.js" "elenco_domande_rispondi.js" "elenco_risposte.js" "elenco_risposte_rispondi.js" "fai_una_domanda.js" "generic.js" "global.js" "login.js" "menu.js" "pass_dimenticata.js" "profile_manager_services.js" "profilo.js" "pushnotification.js" "recruitment.js" "registration.js" "registration_edit.js" "util.js" "ti.cloud.js" "_app_props_.json" [INFO] : Writing /Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/bin/assets/app.json [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-analytics.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-android.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-app.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-filesystem.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-media.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-locale.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-network.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-xml.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-platform.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-geolocation.res.zip [INFO] : Extracting module resources: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-utils.res.zip [INFO] : No aidl files to compile, continuing [INFO] : Generating i18n files [INFO] : Generating /Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/res/values/theme.xml [INFO] : Packaging application: /Users/Myproject/Library/Android/sdk/build-tools/23.0.3/aapt "package" "-f" "-m" "-J" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/gen" "-M" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/AndroidManifest.xml" "-A" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/bin/assets" "-S" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/res" "-I" "/Users/Myproject/Library/Android/sdk/platforms/android-23/android.jar" "-F" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/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/lf/c8kqrz1j1330q0t1vx1kf6fc0000gp/T/116317-35520-102onv4/res" "-S" "/var/folders/lf/c8kqrz1j1330q0t1vx1kf6fc0000gp/T/116317-35520-qat60u/res" "-S" "/var/folders/lf/c8kqrz1j1330q0t1vx1kf6fc0000gp/T/116317-35520-1kzsqqe/res" [INFO] : Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/bin/javac "-J-Xmx1024M" "-encoding" "utf8" "-bootclasspath" "/Users/Myproject/Library/Android/sdk/platforms/android-23/android.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-v8.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-analytics.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/aps-analytics.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-android.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/jaxen-1.1.1.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/ti-commons-codec-1.3.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-common.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/titanium.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-app.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-ui.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-filesystem.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-media.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-appcompat.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v4.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v7-appcompat.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-cardview.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/cardview-v7-23.0.1.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-locale.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-network.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-xml.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-platform.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-geolocation.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-utils.jar:/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/modules/android/ti.imagefactory/2.2.1/imagefactory.jar:/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/modules/android/fh.imagefactory/1.1/fhimagefactory.jar:/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/facebook.jar:/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/lib/AudienceNetwork-fb-4.7.0.jar:/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/lib/bolts-android-1.2.1.jar:/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/lib/facebook_sdk_470.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-apt.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/lib/titanium-verify.jar:R.class:AppActivity.class:AssetCryptImpl.class:BgService.class:MyprojectActivity.class:MyprojectAppInfo.class:MyprojectApplication.class" "-d" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/bin/classes" "-proc:none" "-target" "1.6" "-source" "1.6" "@/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/java-sources.txt" [INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/bin/java "-Xmx1024M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=/Users/Myproject/Library/Android/sdk/platform-tools" "-jar" "" "--dex" "--output=/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/bin/classes.dex" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/build/android/bin/classes" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/lib/titanium-verify.jar" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/modules/android/ti.imagefactory/2.2.1/imagefactory.jar" "/Users/Myproject/Documents/Titanium_Studio_Android/MyProject/modules/android/fh.imagefactory/1.1/fhimagefactory.jar" "/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/facebook.jar" "/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/lib/AudienceNetwork-fb-4.7.0.jar" "/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/lib/bolts-android-1.2.1.jar" "/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/lib/facebook_sdk_470.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-v8.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-analytics.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/aps-analytics.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-android.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/jaxen-1.1.1.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/ti-commons-codec-1.3.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-common.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/titanium.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-app.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-ui.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/nineoldandroids-appc-2.4.0.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-filesystem.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-media.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-appcompat.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v4.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v7-appcompat.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-cardview.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/cardview-v7-23.0.1.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-locale.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-network.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-xml.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-platform.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-geolocation.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-utils.jar" [ERROR] : Failed to run dexer: [ERROR] : [ERROR] : Error: Unable to access jarfile null
  2. Motiur Rahman 2016-04-19

    Hi [~freedevcom], I see you are using facebook module (v 3.0.3) but the latest version is 5.0.0. Could you try with the latest version, please? Module link: https://github.com/appcelerator-modules/ti.facebook/releases Thanks.
  3. Andrea 2016-04-19

    Sorry I made a mistake in the first comment. The version is already 5.0.0. I've corrected my comment. You can see it also from the build log: "/Users/Myproject/Library/Application Support/Titanium/modules/android/facebook/5.0.0/facebook.jar". Have you any other suggestion? Thank you
  4. Motiur Rahman 2016-04-21

    [~freedevcom], We could not reproduce it using facebook and cloud module with your testing env. Are you using any other module except Facebook and Cloud? Try a build without section in tiapp.xml file, If needed just add that back in later. Thanks.
  5. Andrea 2016-04-22

    Yes Motiur, I've checked and I use also ti.imagefactory version=2.2.1 and fh.imagefactory version=1.1. Do you think they could be the cause?
  6. Sharif AbuDarda 2016-04-22

    Hello, Can you try running the command in terminal "ti config android.dx.maxMemory 512M" Use sudo at first if necessary. And clean the project and try building again with the latest SDK. Regards, Sharif.
  7. Motiur Rahman 2016-04-23

    [~freedevcom], We believe this is module issue and I have tested using facebook(v 5.0.0), cloud(v3.2.10) and ti.imagefactory (v2.2.1) module but could not reproduce the error. I did not find fh.imagefactory (v1.1) modue so it's better if you send us a link. Also, you can remove it then compile again. And go to ~/Library/Application Support/Titanium/modules/android/moduelName/version/lib/ here if you see any duplicate libraries then delete one. Thanks
  8. Andrea 2016-04-25

    Here you are the link: https://github.com/freshheads/fh.imagefactory. Thank you
  9. Andrea 2016-04-25

    Motiur, after your comment I tried to create a new project, that doesn't use any module, except from ti.cloud. The result is that I have the same problem. I use as deployment target both iOS and android, but I have problems only with android. Do you think I have to try to uninstall and reinstall something?
  10. Andrea 2016-04-25

    Name = Mac OS X Version = 10.10.5 Architecture = 64bit # CPUs = 4 Memory = 8589934592 Node.js Node.js Version = 0.12.7 npm Version = 2.11.3 Titanium CLI CLI Version = 5.0.6 Titanium SDK SDK Version = 5.2.2.GA, SDK Path = /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA Target Platform = android Command /usr/local/bin/node /Users/Myproject/.appcelerator/install/5.2.2/package/node_modules/titanium/lib/titanium.js build run --platform android --log-level trace --sdk --project-dir /Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE --target emulator --android-sdk /Users/Myproject/Library/Android/sdk --device-id titanium_1_WVGA800 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 60743 --config-file /var/folders/lf/c8kqrz1j1330q0t1vx1kf6fc0000gp/T/build-1461591695960.json --no-banner --project-dir /Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE [INFO] : Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=development path=/Users/Myproject/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.9 [INFO] : Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=development path=/Users/Myproject/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.10 [INFO] : Found Titanium plugin id=ti.alloy version=1.0 [INFO] : Deploy type: development [INFO] : Building for target: emulator [INFO] : Building for emulator: titanium_1_WVGA800 [INFO] : Targeting Android SDK API: 23 [INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86 [INFO] : Signing with keystore: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/dev_keystore (tidev) [INFO] : Debugging disabled [INFO] : Profiler disabled [INFO] : Forcing rebuild: /Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/build-manifest.json does not exist [INFO] : Found Alloy app in /Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/app [INFO] : Executing Alloy compile: /usr/local/bin/node /Users/Myproject/.appcelerator/install/5.2.2/package/node_modules/alloy/bin/alloy compile /Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/app --config platform=android,version=0,simtype=none,devicefamily=none,deploytype=development,target=emulator --no-colors [WARN] : Generated "/i18n" directory is not ignored by Git, please add it to your .gitignore [WARN] : Generated "/platform" directory is not ignored by Git, please add it to your .gitignore [INFO] : [config.json] regenerating CFG.js from config.json... [INFO] : ----- MVC GENERATION ----- [INFO] : [app.tss] global style processing... [INFO] : [global style] writing to cache... [INFO] : [index.xml] view processing... [INFO] : style: "index.tss" [INFO] : view: "index.xml" [INFO] : controller: "index.js" [INFO] : created: "Resources/android/alloy/controllers/index.js" [INFO] : created: "Resources/android/alloy/styles/index.js" [INFO] : [INFO] : [app.js] Titanium entry point processing... [INFO] : created: "Resources/android/app.js" [INFO] : [INFO] : ----- OPTIMIZING ----- [INFO] : - android/alloy.js [INFO] : - android/alloy/sync/localStorage.js [INFO] : - android/alloy/sync/properties.js [INFO] : - android/alloy/sync/sql.js [INFO] : [INFO] : Alloy compiled in 1.01428s [INFO] : Alloy compiler completed successfully [INFO] : Launching emulator: titanium_1_WVGA800 [INFO] : Emulator already running [INFO] : Emulator is booted [INFO] : SD card not required, skipping mount check [INFO] : Emulator ready! [INFO] : JavaScript files need to be encrypted [INFO] : Processing JavaScript files [INFO] : Encrypting JavaScript files: /Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/titanium_prep.macos "com.com.provacompilazione" "/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/assets" "alloy/CFG.js" "app.js" "alloy/backbone.js" "alloy/constants.js" "alloy/controllers/BaseController.js" "alloy/controllers/index.js" "alloy/styles/index.js" "alloy/sync/localStorage.js" "alloy/sync/properties.js" "alloy/sync/sql.js" "alloy/underscore.js" "alloy/widget.js" "alloy.js" "ti.cloud.js" "_app_props_.json" [INFO] : No aidl files to compile, continuing [INFO] : Generating i18n files [INFO] : Generating /Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/res/values/theme.xml [INFO] : Packaging application: /Users/Myproject/Library/Android/sdk/build-tools/23.0.3/aapt "package" "-f" "-m" "-J" "/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/gen" "-M" "/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/AndroidManifest.xml" "-A" "/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/bin/assets" "-S" "/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/res" "-I" "/Users/Myproject/Library/Android/sdk/platforms/android-23/android.jar" "-F" "/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/bin/app.ap_" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview" "-S" "/var/folders/lf/c8kqrz1j1330q0t1vx1kf6fc0000gp/T/116325-33620-sv5tvq/res" "-S" "/var/folders/lf/c8kqrz1j1330q0t1vx1kf6fc0000gp/T/116325-33620-1kaburq/res" "-S" "/var/folders/lf/c8kqrz1j1330q0t1vx1kf6fc0000gp/T/116325-33620-1yks89y/res" [INFO] : Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/bin/javac "-J-Xmx1024M" "-encoding" "utf8" "-bootclasspath" "/Users/Myproject/Library/Android/sdk/platforms/android-23/android.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-v8.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-analytics.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/aps-analytics.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-android.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/jaxen-1.1.1.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/ti-commons-codec-1.3.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-common.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/titanium.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-app.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-ui.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-filesystem.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-media.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-appcompat.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v4.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v7-appcompat.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-cardview.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/cardview-v7-23.0.1.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-locale.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-network.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-xml.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-utils.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-geolocation.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-accelerometer.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-contacts.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-map.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-gesture.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-calendar.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-platform.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-database.jar:/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/lib/titanium-verify.jar:R.class:AssetCryptImpl.class:Prova_compilazioneActivity.class:Prova_compilazioneAppInfo.class:Prova_compilazioneApplication.class" "-d" "/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/bin/classes" "-proc:none" "-target" "1.6" "-source" "1.6" "@/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/java-sources.txt" [INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/bin/java "-Xmx1024M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=/Users/Myproject/Library/Android/sdk/platform-tools" "-jar" "" "--dex" "--output=/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/bin/classes.dex" "/Users/Myproject/Documents/Titanium_Studio_Previous_Project/PROVA_COMPILAZIONE/build/android/bin/classes" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/lib/titanium-verify.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-v8.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-analytics.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/aps-analytics.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-android.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/jaxen-1.1.1.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/ti-commons-codec-1.3.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-common.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/titanium.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-app.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-ui.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/nineoldandroids-appc-2.4.0.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-filesystem.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-media.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-appcompat.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v4.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v7-appcompat.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-cardview.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/cardview-v7-23.0.1.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-locale.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-network.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-xml.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-utils.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-geolocation.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-accelerometer.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-contacts.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-map.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-gesture.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-calendar.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-platform.jar" "/Users/Myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-database.jar" [ERROR] : Failed to run dexer: [ERROR] : [ERROR] : Error: Unable to access jarfile null
  11. Andrea 2016-04-25

    Sharif AbuDarda, thank you, but it doesn't work
  12. Andrea 2016-04-25

    Maybe I've found something: comparing building with titanium 3.5.1 (that works) I found that after "--jar" there is "" instead of "/Users/Myproject/Library/Android/sdk/build-tools/23.0.3/lib/dx.jar". Is it normal? If no how can I fix? thank you
  13. Motiur Rahman 2016-04-25

    Hello [~freedevcom], Can you try this, see if that helps. 1. Logout from CLI, appc logout -D 2. Login again from CLI 3. Launch studio 4. Select a new workspace Then create a new app and try to run on Android and let us know.
  14. Andrea 2016-04-25

    error again: I logged out (also appc logout -D), I created a new workspace, a new app and then try to build: the result is the same, but again looking at the building script I see "-jar" {color:red}""{color} "--dex". Running dexer: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/bin/java "-Xmx512M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=/Users/myproject/Library/Android/sdk/platform-tools" "-jar" "" "--dex" "--output=/Users/myproject/Documents/Prova/Prova1/build/android/bin/classes.dex" "/Users/myproject/Documents/Prova/Prova1/build/android/bin/classes" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/lib/titanium-verify.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-v8.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-analytics.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/aps-analytics.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-android.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/jaxen-1.1.1.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/ti-commons-codec-1.3.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-common.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/titanium.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-app.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-ui.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/nineoldandroids-appc-2.4.0.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-filesystem.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-media.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-appcompat.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v4.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v7-appcompat.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-cardview.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/cardview-v7-23.0.1.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-locale.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-network.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-xml.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-utils.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-geolocation.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-accelerometer.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-contacts.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-map.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-gesture.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-calendar.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-platform.jar" "/Users/myproject/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-database.jar" [ERROR] : Failed to run dexer: [ERROR] : [ERROR] : Error: Unable to access jarfile null
  15. Motiur Rahman 2016-04-25

    [~freedevcom], Sorry for the inconvenience. Now I recommend you to remove the Studio from Applications plus the following for a clean state: sudo npm uninstall -g titanium sudo npm uninstall -g alloy sudo npm uninstall -g acs sudo npm uninstall -g appcelerator sudo rm -rf ~/.appcelerator sudo rm -rf ~/.titanium Check your node version and make it compatible according to the doc -http://docs.appcelerator.com/platform/latest/#!/guide/Installing_Node Then install CLI manually through the terminal respectively sudo npm install -g appcelerator appc use latest appc setup -l trace sudo npm install -g alloy Finally, take a fresh copy of Appcelerator Studio and install it in your machine. It will automatically install all dependencies. https://web.appcelerator.com/product/studio Then open the studio and run your application.

JSON Source