gpt4 book ai didi

android - 错误:(3)检索项目父项时出错:找不到与给定名称匹配的资源

转载 作者:行者123 更新时间:2023-12-03 05:11:55 25 4
gpt4 key购买 nike

在添加库Error:(3) Error retrieving parent for item: No resource found that matches the given name....之前同步我的gradle时,我得到的是:compile 'com.gjiazhe:PanoramaImageView:1.0'

Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

这是我的gradle文件:
apply plugin: 'com.android.application'
android {

useLibrary 'org.apache.http.legacy'

// # global info
compileSdkVersion 23
buildToolsVersion '25.0.0'
// compileOptions.encoding = 'utf-8'

// #
defaultConfig {
applicationId "com.MyApp.test"
minSdkVersion 16 // here we target more than 92% of users devices (fev 2016)
versionCode 1189
versionName "1.1.89"
targetSdkVersion 23
// Enabling multidex support.
multiDexEnabled true
}

// # dex options
/*
dexOptions {
preDexLibraries false
}*/

// # lint
lintOptions {
abortOnError false
}

// # signing config
signingConfigs {
release {
storeFile file("../key.keystore")
storePassword "media*/2015"
keyAlias "media"
keyPassword "media*/2015"

}
}


// # type of builds
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled true
shrinkResources true
// proguardFiles 'proguard-rules-release.pro' // prod
proguardFiles 'proguard-rules-modele.pro' // modele ..


}
}

// #
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
exclude 'META-INF/MANIFEST'
pickFirst 'META-INF/NOTICE'
pickFirst 'META-INF/LICENSE'
pickFirst 'META-INF/MANIFEST'
pickFirst 'META-INF/LICENSE.txt'
pickFirst 'META-INF/NOTICE.txt'
exclude 'META-INF/LGPL2.1'
}


}

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

compile group: 'org.apache.httpcomponents', name: 'httpclient-android', version: '4.3.5.1'
compile('org.apache.httpcomponents:httpmime:4.3') {
exclude module: "httpclient"
}

compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.google.android.gms:play-services-analytics:9.0.0'
compile 'com.google.android.gms:play-services-maps:9.0.0'
compile 'com.github.rey5137:material:1.2.2'
compile 'be.shouldit:android-proxy-library:4.2.6'
compile 'org.mozilla:rhino:1.7.7.1'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.android.support:multidex:1.0.1'
compile 'com.eclipsesource.minimal-json:minimal-json:0.9.4'
compile 'io.branch.sdk.android:library:1.10.8'
compile 'com.android.volley:volley:1.0.0'
compile 'com.squareup:android-times-square:1.6.5@aar'
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'cz.msebera.android:httpclient:4.3.6'

//pour la vue panoramique
compile 'com.gjiazhe:PanoramaImageView:1.0'

}


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

最佳答案

您的

compileSdkVersion 23
buildToolsVersion '25.0.0'
...
targetSdkVersion 23

应该全部用于版本23,例如:
compileSdkVersion 23
buildToolsVersion '23.0.3'
...
targetSdkVersion 23

关于android - 错误:(3)检索项目父项时出错:找不到与给定名称匹配的资源,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44262960/

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