我找不到com.android.工具,android:错误:找不到com.android。支持:appcompat-v7:28.0.0

buildscript{

储存库{

JCSENT()

GoGoE()

}

依赖项{

类路径'com.android.tools.build:gradle:3.4.0-alpha01'

//注意:不要将应用程序依赖项放在此处;它们属于

//在单个模块build.gradle文件中

classpath'com.google.gms:google服务:3.3.0'

}

}

< /代码>

我该怎么办?如有任何建议,我们将不胜感激。

apply plugin:'com.android.application'

android {

compileSdkVersion 28

buildToolsVersion '28.0.3'

defaultConfig {

minSdkVersion 15

targetSdkVersion 28

versionCode 1

versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

vectorDrawables.useSupportLibrary = true

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

}

}

testOptions {

unitTests.returnDefaultValues = true

}

}

dependencies {

implementation fileTree(include: ['*.jar'], dir: 'libs')

androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {

exclude group: 'com.android.support', module: 'support-annotations'

})

implementation 'com.android.support:appcompat-v7:28.0.0'

implementation 'com.android.support:support-v4:28.0.0'

implementation 'com.android.support:design:28.0.0'

implementation 'com.android.support:support-vector-drawable:28.0.0'

implementation 'com.android.support:gridlayout-v7:28.0.0'

implementation 'com.android.support:cardview-v7:28.0.0'

implementation 'com.android.support:recyclerview-v7:28.0.0'

implementation 'com.android.support:design:28.0.0'

implementation 'com.android.support:support-annotations:28.0.0'

implementation 'com.github.bumptech.glide:glide:4.4.0'

implementation 'com.google.firebase:firebase-messaging:17.3.4'

implementation "com.google.android.gms:play-services-gcm:16.0.0"

implementation 'com.google.android.gms:play-services-location:16.0.0'

implementation 'com.google.android.gms:play-services-places:16.0.0'

testImplementation 'junit:junit:4.12'

implementation 'com.google.android.apps.muzei:muzei-api:2.0'

}

apply plugin: 'com.google.gms.google-services'

Qmt5v.png

当我转到SDK管理器时,所有内容都已安装:

8b09708ddfb26ebc8f269bea4db56e78.png

在Gradle.build中:

buildscript {

repositories {

jcenter()

google()

}

dependencies {

classpath 'com.android.tools.build:gradle:3.4.0-alpha01'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

classpath 'com.google.gms:google-services:3.3.0'

}

}

我该怎么办?如有任何建议,我们将不胜感激。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值