android - [SDK 补丁应用程序 V4] 许可证的 ionic 错误

标签 android

当我这样做时,我得到以下信息:

ionic 构建安卓

Error: /Users/mike/code/ionic/getit/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring root project 'android'.

    You have not accepted the license agreements of the following SDK components: [SDK Patch Applier v4, Google Repository]. Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

我运行 android SDK 管理器,但没有将此包视为选项,我安装了 SDK 工具、平台工具和构建工具以及 Android SDK。

我错过了什么?

最佳答案

整理了一下,答案是实际安装在andriod SDK manager下的Google Repository。误导性错误消息,IMO,尽管您在安装许可证时确实接受了它。

enter image description here

关于android - [SDK 补丁应用程序 V4] 许可证的 ionic 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41417503/

相关文章:

Android Seekbar 停止更新方向变化

java - 内存卡游戏的坐标生成

java - android JNI代码中的C内存泄漏

android - 如何检测 Android 中的 Google MapView 移动?

android - 排除发布构建类型的 Assets

java - 当该方法结束时,ArrayList被清空

android - 我是编程新手。我正在尝试制作 Android 应用程序 soundrecoder

android - 无法 HEAD 'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml' 。从服务器 : Bad Gateway 收到状态码 502

android - RelativeLayout 项目在编辑器和设备上的不同位置

android - Google Tagmanager Android 中的权限被拒绝错误