今天继续踩坑。
先附两位博主的文章做参考:
https://www.jianshu.com/p/f8447f9fc95b
https://blog.csdn.net/dingpwen/article/details/104017942
ionic cordova platform add android命令默认加载的是cordova-android@8.0.0了,打开AS进行真机调试正常,但是签名打包时提示我把gradle从4.1-all升级到4.10.1-all,不然的话不支持。
于是根据提示升级。
但是这次报这个错:
很长一串,我贴几段主要内容:
第一个提示:
Error:Internal error:
org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.10.1-all.zip'.
第二个提示:
Caused by: org.gradle.internal.UncheckedException: java.util.concurrent.ExecutionException: