Android(安卓)dependency ‘androidx.core:core’ has different version for the compile (1.0.0) and runtime
16lz
2021-12-04
在这个路径…/android/build.gradle (不是这个路径…/android/app/build.grade) 添加如下配置
subprojects { project.configurations.all { resolutionStrategy.eachDependency { details -> if (details.requested.group == 'androidx.core' && !details.requested.name.contains('androidx')) { details.useVersion "1.0.1" } } }}
如果还不能解决可以看看这里:
https://github.com/flutter/flutter/issues/27254
更多相关文章
- Pycharm安装PyQt5的详细教程
- Android获取本机Mac地址和IP地址
- android中调用金山词霸
- android中添加arial字体(非android默认字体)
- Android——Android(安卓)Studio开发环境搭建及设置本地Gradle方
- 在RelativeLayout布局中可以设置标签的android:layout_toLeftO..
- Android(安卓)FragmentManage FragmentTransaction介绍
- android EditText 添加图片表情以及在四个方向上绘制图片
- TensorFlow编Android(安卓)so库总结