我有上述错误,不知道为什么我仍然有它。我已经多次重新安装API 23,并完成了谷歌搜索,我发现的唯一解决方法是重新安装API,但仍然存在问题。
有没有人修复它?
apply plugin: 'com.android.application' android { compileSdkVersion 'Google Inc.:Google APIs:23' buildToolsVersion '23.0.2' defaultConfig { applicationId "com.example.app" minSdkVersion 16 targetSdkVersion 23 versionCode 1 versionName "1.0" } lintOptions { disable 'InvalidPackage' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' compile 'me.neavo:volley:2014.12.09' compile 'com.google.code.gson:gson:2.5' compile 'com.jakewharton:butterknife:7.0.1' compile 'com.android.support:support-v4:23.1.1' }
尝试使用compileSdkVersion 23代替compileSdkVersion 'Google Inc.:Google APIs:23'
compileSdkVersion 23
compileSdkVersion 'Google Inc.:Google APIs:23'