-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: ionic build android failed #4581
Comments
Same problem here. |
Similar type of error.... Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file /home/experion/ionic_project/test/platforms/android/cordova/node_modules/q/q.js:126 |
I had similar problem, I'm not sure its problem with ionic, i think cordova-gradle conflict changing distributionUrl to:
solved it. This was the error log:
|
+1. I've tried removing the \ from distributionUrl according to an SO post, it did not work. I can build using cordova but I cannot deploy using ionic run android |
No, The work around solution is to change point grade to local distribution by changing |
Interesting, sounds like a cordova issue (so, going to close for now), but feel free to continue the discussion in case others find this issue with similar problems. |
|
Hi, unfortunately still have the same problem and same error message after installing gradle Gradle 2.10Build time: 2016-01-26 15:17:49 UTC Groovy: 2.4.5 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Type: bug
Platform: android 4.x webview
I am really stuck on building ionic for android
System Information
When I run
$ ionic build android
it produces
I have tried changing
var distributionUrl = 'distributionUrl=http\\://services.gradle.org/distributions/gradle-2.2.1-all.zip';
to point it to local distribution but it does not look into specified path but look into project's android directory.When I build using Ant
cordova build android -- --ant
It builds successfully but I am unable to build the way docs are suggesting.
The text was updated successfully, but these errors were encountered: