Ionic Build Android Stuck At Incremental Java Compilation Is An Incubating Feature For Over 20 Minutes Now


#1

I have ran the command “ionic build android” and it gets to the line “Incremental java compilation is an incubating feature” and hangs. Stuck here for 20 minutes now. I have been building from CLI for over a year with this projects and it would build in less than a minute, now over 20 minutes and still waiting.

Does anyone have any ideas why it would do this?

add to body class: platform-android

ANDROID_HOME=C:\Users\bgoforth\AppData\Local\Android\android-sdk

JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79

Starting a new Gradle Daemon for this build (subsequent builds will be faster).


Incremental java compilation is an incubating feature.


^CTerminate batch job (Y/N)? y

C:\Users\bgoforth\Desktop\Work\Projects\testPUSHREPO\trunk>ionic build android
Running command: "C:\Program Files\nodejs\node.exe" C:\Users\bgoforth\Desktop\Work\Projects\testPUSHREPO\trunk\hooks\after_prepare\010_add_platform_class.js C:\Users\bgoforth\Desktop\Work\Projects\testPUSHREPO\trunk


add to body class: platform-android

ANDROID_HOME=C:\Users\bgoforth\AppData\Local\Android\android-sdk

JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79

Starting a new Gradle Daemon for this build (subsequent builds will be faster).


Parallel execution with configuration on demand is an incubating feature.


Incremental java compilation is an incubating feature.

#2

Did you change anything on your system? Android-SDK, Java JDK etc…


#3

I think you ended Java Platform SE binary from task manager. Try restarting your computer.


#4

I updated node to support angular 2/4 development to version 6.1 and my other settings are NPM 3.10.10, Cordova 6.3.1, ionic 2.1.1. Does any of this look like it could be causing it to take this long? It did finally build the apk 1hour 45minutes. EEESH…


#5

Not really, although these are all not the newest and best that is out there…


#6

Just FYI, we had a call to “outside the local network” that was being hindered. Call was to an IP that resolved to this URL http://repo1.maven.org/maven2/. Once we whitelisted the call to this URL, builds back down to 10 seconds. Thanks for looking into this?


#7

hi @billy_comic how did you monitor the “outside the local network” call? Im experiencing this problem for days now