androidtitaniumappceleratorappcelerator-titanium

Titanium Android - Failed to compile Java source files


I have an android app compiled with SDK 7.4.0.GA. I'm trying to update it (to 8.3.1.GA) but, during the compilation, I have this error message, with 2 [ERROR] empty :

[ERROR] Failed to compile Java source files:
[ERROR] 
[ERROR]  

I tried to create a new app project, but the problem is the same. I also tried with 7.5.2.GA, and I still have this error. I have run 'ti clean', with no effect.

If I execute 'ti info', it says 'Unable to locate an Android NDK', but I would need it also with 7.4.0, so I think it's not the problem ?

Could someone help me ?

Thanks a lot :)


Solution

  • Increase your JAVA memory

    ti config android.javac.maxMemory "1G"
    ti config android.dx.maxMemory "1G"
    

    and check your ti info with -l trace