i tried run the cordova run android command few hours ago, it started by generating dots but untill now it is still generating dots. Anyone can help?
here is the ionic info
Cordova CLI : 7.0.1
@ionic/app-scripts : 1.3.7
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.3.0
Node : v8.1.2
OS : macOS Sierra
Xcode : Xcode 8.3.3 Build version 8E3004b
npm : 5.0.3
This is quite comman thing at the start.
It actually downloads the gradle.
What you can do is download the gradle manually, just follow the below steps:
Check the gradle version it is trying to download.
Download it manually
Paste the downloaded zip in platforms\android\gradle
Then in platforms\android\gradle\wrapper\gradle-wrapper.properties change the last line to distributionUrl=…/gradle-2.14.1-all.zip (Of course put your downloaded gradle version)
Open file platforms\android\cordova\lib\builders\GradleBuilder.js (NOT GenericBuilder.js)
Some where on line 202: change code to var distributionUrl = ‘…/gradle-2.14.1-all.zip’ and comment the rest of the things in the line
You may find it lil hectic… but it works great… You’ll get used to it after building 2-3 projects…
i did use ionic to build apps for quite sometimes already, it works great a week ago but this just happens with the recent update of ionic.
May be previous versions are smart enough to find already downloaded gradle and newer versions are not. May you can give my advice a try.
Thanks for your reply @arnoldparge, i will try it.
Can you please post your
ionic info inside the project that is causing problems?
i solved by update my android SDK. thx mate