繁体   English   中英

在Mac上使用Ionic Android Build

[英]Ionic Android Build on Mac

我正在尝试构建我的Android应用程序,并在过去5天内收到一个错误:

Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.

我已经尝试过各种方法来解决这个问题并且没有工作。 我即将放弃,因为我真的不知道该怎么办。 任何可能遇到类似问题的人的建议或建议都将受到高度赞赏!

原因如下:

Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: not installed 
Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
Gradle: not installed 
Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: /usr/local/Caskroom/android-sdk/25.2.3/tools/templates/gradle/wrapper

Requirements check results for ios:
Apple OS X: installed darwin
Xcode: installed 8.3.2
ios-deploy: installed 1.9.0
CocoaPods: installed 
Error: Some of requirements check failed

我不确定你遇到了什么问题,但我想我会回答一些我发现的信息/我需要你的信息:

你有没有通过https://ionicframework.com/docs/intro/deploying/为Android部分(安装Android Studio,Java JDK等)。 只是要求确认。

这也是现有项目还是全新项目? 如果你有机会,你应该用一个空的app模板给它一个镜头。 有时这可以帮助您将其缩小到工作流程挑战,因为根据我的经验,项目越大,找到问题就越困难。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM