报错提示:
Android dependency ‘com.android.support:appcompat-v7’ has different version for the compile (25.3.1) and runtime (28.0.0) classpath. You should manually set the same version via DependencyResolution

处理方式:

android {...}//在app的build.gradle中添加以下代码project.configurations.all{    resolutionStrategy.eachDependency{details->        if(details.requested.group=='com.android.support'                && !details.requested.name.contains('multidex')){            details.useVersion"28.0.0"        }    }}dependencies {...}

更多相关文章

  1. Android(安卓)全屏
  2. android百度地图标记点代码
  3. build WebRTC for android
  4. android的service中在后台弹出提示框
  5. 垂直跑马灯
  6. Android菜单实例
  7. Android使用代码模拟HOME键的功能
  8. Android(安卓)Gradle使用详解
  9. android九宫格实现

随机推荐

  1. delphixe 安卓 android操作 打电话,摄像头
  2. Android(安卓)ExpandableListView 进行二
  3. Android(安卓)小发现:WebView 显示HTML文
  4. android 应用程序4种编译方法
  5. 序列化的两种方式
  6. Android简易Flash播放器[转]
  7. Android(安卓)Studio插件GenerateFindVie
  8. android-market-api
  9. Android(安卓)Gradle Plugin指南(四)——测
  10. Android(安卓)ApiDemos示例解析(124):Vie