Skip to main content
Participant
Oct 10, 2016 6:30 PM UTC
Answered

ADT taking a long time to compile a particular project

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?

This topic is closed to new replies. Start a new post to keep the conversation going.
AmigaAbattoirCorrect answer
Participant
Oct 27, 2016 7:09 PM UTC

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.

2 replies

AmigaAbattoirAuthorCorrect answer
Participant
Oct 27, 2016 7:09 PM UTC

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.

Translate
Oct 18, 2016 4:34 AM UTC

Need answer me too. Staff Roshna?

Translate