gpt4 book ai didi

android - 错误 :(39, 13) 无法解析 : com. android.support :appcompat-v7:26. 0.0

转载 作者:可可西里 更新时间:2023-11-01 18:49:14 30 4
gpt4 key购买 nike

<分区>

我在我的应用程序中使用 Android studio 2.3 和 Thought 来支持新的 android 26。但是我被标题消息卡住了。我的 gradle 文件如下所示

apply plugin: 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion "26.0.1"



defaultConfig {
applicationId "com.example.shayari"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"

manifestPlaceholders = [onesignal_app_id : "",
// Project number pulled from dashboard, local value is ignored.
onesignal_google_project_number: "REMOTE"]

vectorDrawables.useSupportLibrary = true
}



buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')

compile 'com.google.android.gms:play-services-location:10.2.6'
compile 'com.android.support:support-v4:26.0.0'
compile 'com.google.android.gms:play-services-gcm:10.2.6'
compile 'com.google.android.gms:play-services-ads:10.2.6'
compile 'com.android.support:appcompat-v7:26.0.0'
compile 'com.android.support:preference-v7:26.0.0'
compile 'com.android.support:design:26.0.0'
compile 'com.android.support:cardview-v7:26.0.0'
compile 'com.squareup.okhttp:okhttp:2.3.0'
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.android.support:customtabs:26.0.0'
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta3'
compile 'com.onesignal:OneSignal:[3.5.3,4.0.0)'
compile 'com.codemybrainsout.rating:ratingdialog:1.0.7'
compile 'com.android.support:support-vector-drawable:26.0.0'
compile 'com.google.android.gms:play-services-auth:10.2.6'
compile 'de.hdodenhof:circleimageview:2.1.0'
}
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}

但是我无法安装支持存储库并出现以下错误..

Error:(39, 13) Failed to resolve: com.android.support:appcompat-v7:26.0.0
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:C:/Users/MAITRII/Desktop/newhindi/app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

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