Suggestion: add 'tools:replace="android:value"' to element 报错解决方案
16lz
2021-01-23
Error: Attribute meta-data#android.support.VERSION@value value=(25.3.1) from AndroidManifest.xml:24:9-31 is also present at AndroidManifest.xml:27:9-38 value=(26.0.0-alpha1). Suggestion: add 'tools:replace="android:value"' to
错误为:android.support.VERSION出现在两个位置,官方建议为 在AndroidManifest.xml:22:5-24:34 加入tools:replace="android:value" 到
然而这个方案并不管用。。
于是有了第二种方案
把下面的代码写到 build.gradle "app level"里,可以简单放在 dependencies后面,把之前的方案清干净
顺利解决,开森!
更多相关文章
- Android App安装失败错误总结
- [Android Studio导入第三方类库方法] Error:(19, 23) 错误: 程序
- 如何在微信直接下载APP(iOS/Android)的解决方案
- Android Permission denied 错误(附Android权限大全)
- Android Permission denied 错误 ( 附Android权限大全 )
- android install faild insufficient storage错误的解决方法
- Android错误处理——Android读取txt文件乱码解决方案
- Android常见错误(http://www.cnblogs.com/ok-lanyan/archive/2011
- Google I/O大会发布Android Studio,安装与不能运行解决等错误解决