Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 14 declared in library [com.google.android.gms:play-services:11.0.4] C:\Users\.android\build-cache\857c11d37cd8661c3d52cb060657f8bf3635bb7a\output\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.google.android.gms.play_services" to force usage
Z:\#1 ready\others\UVPlayermasterpart1\HoppingBird\app\build\intermediates\res\merged\debug\values-ldltr-v21\values-ldltr-v21.xml
Z:\#1 ready\others\UVPlayermasterpart1\HoppingBird\app\build\intermediates\res\merged\debug\values-v21\values-v21.xml
Error:(17) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.
Error:(19) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'.
Error:(280) Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
Error:(27) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.SearchResult.Subtitle'.
Error:(106, 21) No resource found that matches the given name: attr 'android:colorAccent'.
.
.
.
.Error:(203, 21) No resource found that matches the given name: attr 'android:overlapAnchor'.
.
.
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "bb.hoppingbird"
//minSdkVersion 14
//targetSdkVersion 19
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:19.1.0'
compile 'com.google.android.gms:play-services:+'
}
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="bb.hoppingbird"
android:versionCode="1"
android:versionName="1.0">
<supports-screens
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="false" />
<application
android:icon="@drawable/icon"
android:label="@string/app_name">
<activity
android:name="bb.hoppingbird.MainActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:configChanges="orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Ads Using Google Play Services SDK -->
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
</application>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RESTART_PACKAGES"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
</manifest>
您应该从以下位置更改:
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "bb.hoppingbird"
//minSdkVersion 14
//targetSdkVersion 19
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:19.1.0'
compile 'com.google.android.gms:play-services:+'
}
致:
apply plugin: 'com.android.application'
repositories {
maven { url 'https://maven.google.com' }
}
android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "bb.hoppingbird"
minSdkVersion 14
targetSdkVersion 26
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:26.1.0'
compile 'com.google.android.gms:play-services:11.4.2'
}
更新:请遵循以下说明:
错误:任务“app:processDebugManifest”的执行失败。 清单合并失败:uses-sdk:minSdkVersion 7不能小于库中声明的版本14[com . Android . support:app compat-V7:26 . 0 . 0-alpha 1]E:\ WorkSpace \ and studio \ Test1 \ app \ build \ intermedi
问题内容: 问题是.. 清单合并失败:uses-sdk:minSdkVersion 8不能小于库com.android.support:support-v4:21.0.0-rc1中声明的L版本 build.gradle中的代码 AndroidManifest中的代码是.. 谢谢你,先生.. 问题答案: 如果您使用 它将假定它可以使用21.x,因为它是最新版本(但与小于L的目标不兼容) 更改为 因此
在尝试重建项目时,我在项目中遇到以下错误: 错误:任务“:app:processDebugManifest”的执行失败。 清单合并失败:uses sdk:Minsdk版本8不能小于库[com.google.android.gms:play services:9.4.0]中声明的版本9 C:\Users\Esprit\Desktop\ColoringBook\app\build\intermedia
由于下载了最新的SDK并安装了Android Studio,我的项目无法构建。我得到以下消息:
我有一个问题-我在Android Studio导入的项目。当我运行项目时,我得到以下错误: 错误:任务“:driverNotes:processDebugManifest”的执行失败。 清单合并失败:使用sdk:minSdkVersion 9不能小于库com中声明的版本L。Android支持:support-v4:21.0。0-rc1 构建中的依赖项。格拉德尔: 我用的是java 7。如何摆脱此错
我正在创建一个简单的游戏在颤动,飞镖和火焰,我的火焰是更新的版本与颤动相同, 我的pubspec.yaml 我的主飞镖 langaw-game.dart 我按照这个文档在youtube https://www.youtube.com/watch?v=N4LFV9_fLAo