appersonlabs / MakeTi

This repo is no longer supported and exists only for the sake of reference. Please use the new Titanium CLI
http://blog.mattapperson.com
186 stars 35 forks source link

Deploy on android not working #26

Open nddery opened 12 years ago

nddery commented 12 years ago

Hi,

I am trying to deploy on my Android phone (running ICS (4.0.3)).

OS : 10.7..3 SDK : 1.8.2 Java : 1.6.0_29 Xcode : 4.2.1

I am running the command "make clean && make deploy platform=android apkonly=true". It will compile the project but does not seem to be installing the app on my phone. The script exit without error. Here are the last DEBUG message outputted form the script:

[DEBUG] jarsigner - stropass tirocks -keystore "/Users/nicolas/...." -signedjar /Users/nicolas....... tidev [DEBUG] /Android/android-sdk-mac_86/tools/zipalign -v 4 /Users/nicolas..... /Users/nicolas/.....

I tried running the command without the apkonly part and it gives the same result. Am I missing a step (like manually installing the app ?). Running "adb devices", I can see that my phone is successfully being detected.

Thanks,

Nicolas

mattapperson commented 12 years ago

correct, using the apkonly=true option does just that, builds the APK and does nothing else

The issue is more the latter as to why it is not installing even without the apkonly=true

nddery commented 12 years ago

Yes, I've just saw in the readme that with the "apkonly" the app was stored in "project-root/build/android/bin/app.apk". I've successfully installed it with with adb.

Without the "apkonly", from what I can see, it gives me the same DEBUG/output messages in the console. If you need more information let me know, I'll be glad to try to help.