Copy link to clipboard
Copied
I recently revisited a Flex mobile project and was making a few changes. It's an Android game with two ANEs (one for Vibrate and one for AdMobs) that I also made. Suddenly, when compiling a debug or release APK, it takes over 15 minutes to complete where it was formerly would finish in less than a minute. Also, when I try to build the ANE with by an ANT script, it take ADT about 5 and a half minutes to package the ANE, where it used to only take several seconds.
I tried another Flex mobile project, white doesn't use the ANEs and it seems to compile fine. For both projects are using Flex 4.14.1 with AIR 18 in Flash Builder 4.7. The ANE was built in Eclipse Neon, with FB. 4.7 plug-in.
Any suggestions on trying to figure out why this project is taking so long?
Figured out what was making my ANE to compile for a long time. Long story short, my ANT script to compile and build the Android JARs still had both the JAR and the Java sources in it when ADT was run. Once I removed the folder with the sources in it, ADT's time went from several minutes to under 10 seconds!
When I used the newly made ANE in the project, it only took about 2 minutes to generate the APK.
Copy link to clipboard
Copied
Need answer me too. Staff Roshna?
Copy link to clipboard
Copied
Figured out what was making my ANE to compile for a long time. Long story short, my ANT script to compile and build the Android JARs still had both the JAR and the Java sources in it when ADT was run. Once I removed the folder with the sources in it, ADT's time went from several minutes to under 10 seconds!
When I used the newly made ANE in the project, it only took about 2 minutes to generate the APK.