gpt4 book ai didi

android - 错误 : Could not find gradle wrapper within Android SDK (cordova + ionic)

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:24:35 24 4
gpt4 key购买 nike

运行ionic build android时

ANDROID_HOME=/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home

Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: /Library/Android/sdk/tools/templates/gradle/wrapper

我尝试使用更新 sdk android更新sdk -u

最佳答案

更新android项目到cordova-android 6.2.1

ionic platform update android@6.2.1

有关更多详细信息,请查看以下链接 https://cordova.apache.org/announcements/2017/04/05/android-release.html

关于android - 错误 : Could not find gradle wrapper within Android SDK (cordova + ionic),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42218571/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com