我已经进行了彻底的搜索,找不到我所遇到的错误的原因。
我所做的事情:
我将应用程序gradle文件中的compileSdkVersion和targetSdkVersions从26更改为23。
我现在点击同步。
它导致了7条错误消息,使我的清单文件陷入混乱。
片段:
将compile,目标sdk版本从26更改为23后,我的App Gradle文件
apply plugin: 'com.android.application' android { compileSdkVersion 26 defaultConfig { applicationId "com.airtelanalytics" minSdkVersion 14 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1.0' compile 'com.android.support:recyclerview-v7:26.1.+' compile 'com.jaredrummler:android-processes:1.1.1' implementation 'com.android.support.constraint:constraint-layout:1.0.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' }
Android SDK Platform 23已安装
由于SDK版本从26更改为23而导致的错误消息(影响清单文件)
清单文件
如何解决呢?