Bug when run dexDebug, can't build Android apk!


When i buld for the first time $ ionic build android that’s works, but now never works… i don’t change anything. The error happen when the build is at “dexDebug”, this is a paste of my cmd.

Github gist

I’ve been installed Java Node Ant Android Studio SDK… That’s work on OSX, not on Windows :frowning:

Please help me…

Please help… i can’t build app on windows…

I think mainly to build android you need JRE and the android SDK that’s should be enough. I am built mainly on OSX but I think windows should work the same way.

I have them :confused:

ata\Local\Android\android-sdk\tools;C:\Program Files (x86)\Git\cmd;C:\Program Fi
les (x86)\Git;C:\Program Files\nodejs;C:\Users\Grégory\AppData\Local\Android\and
\system32;C:\Windows;C:\Windows\System32\Wbem;C:\adb;C:\Program Files\nodejs\;C:
\Program Files (x86)\Git;C:\Program Files\nodejs;C:\Program Files (x86)\Android\
android-sdk;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program
 Files (x86)\Android\android-sdk\platforms;C:\Program Files (x86)\Android\androi

Temporary solution : new user without any accent (é - è…) so ionic reinstall gradle and its work

Hey just wanted to let you know that you just saved my life by posting this.
When I was typing ionic build android, it was always stopping at dexDebug just like you. Then, I was having multiple errors saying ‘file not found’.

Indeed, my project was in a folder containing an accent.

Result : Putting it in a folder not having an accent solved my problem. :grinning:

I’m happy that this post help you :smiley:
I’m going to post an issue on GitHub if you have the same problem :wink:

1 Like