我有一个 Android 清单合并问题,指示我更新到 26.1.0。我试了一下,它说那个包裹不可用

I have an Android Manifest merger issue, pointing me to update to 26.1.0. I try and it says that that package is not available

这是我得到的错误:

Error:Execution failed for task ':passenger:processDebugManifest'.

Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.2) from [com.android.support:design:26.0.2] AndroidManifest.xml:28:13-35 is also present at [com.android.support:appcompat-v7:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0). Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:26:9-28:38 to override.

然后我将我的 build.gradle 更改为:

compileSdkVersion 26
buildToolsVersion '26.0.2'    

compileSdkVersion 26
buildToolsVersion '26.1.0'

还有这个:

compile 'com.android.support:appcompat-v7:26.0.2'
compile 'com.android.support:design:26.0.2'
compile 'com.android.support:percent:26.0.2'
compile 'com.android.support:recyclerview-v7:26.0.2'
compile 'com.android.support:transition:26.0.2'

至:

compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:percent:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.android.support:transition:26.1.0'

我收到一个"Install build tools 26.1.0 and sync project. And when I press on it, I get an "软件包不可用”错误:

https://s3.amazonaws.com/uploads.hipchat.com/39260/829560/Bt1tHrYh5Hk4LZe/upload.png

如果没有26.1.0,我的项目中怎么会有26.1.0的包"find"?

从下图中可以看出,没有可用的 26.1.0 版本的构建工具

尝试选择其他可用版本