码迷,mamicode.com
首页 > 移动开发 > 详细

Could not find com.android.tools.build:aapt2:3.2.0-alpha14-4748712.

时间:2018-12-27 15:36:08      阅读:239      评论:0      收藏:0      [点我收藏+]

标签:2.0   search   解决   repo   com   jce   project   OWIN   3.2   

android studio 升级到了3.0 取消了apt 报了这个错


Could not find com.android.tools.build:aapt2:3.2.0-alpha14-4748712.
Searched in the following locations:
    file:/D:/android_sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712.pom
    file:/D:/android_sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712-windows.jar
    file:/D:/android_sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712.pom
    file:/D:/android_sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712-windows.jar
    file:/D:/android_sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712.pom
    file:/D:/android_sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712-windows.jar
    https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712.pom
    https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712-windows.jar
    https://jitpack.io/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712.pom

    https://jitpack.io/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712-windows.jar


在最上级的builde.gralde增加谷歌库 解决问题

allprojects {
    repositories {
        google()//新增的
        jcenter()
    }
}

Could not find com.android.tools.build:aapt2:3.2.0-alpha14-4748712.

标签:2.0   search   解决   repo   com   jce   project   OWIN   3.2   

原文地址:https://www.cnblogs.com/Free-Thinker/p/10184317.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!