百度了一圈,也没有找到方法,突然想起,上一篇博客,写的v7+的问题,对比了一下工程里面的 build.gradle ,发现现有的出错的工程里面 没有implementation ‘com.android.support:appcompat-v7:+’,所以把下面一段全部复制过来了,解决了这个问题。
萌新,只知道这里是添加依赖,有路过大佬也可以解释一下,是不是所有的都要,因为我注释掉后不能复原,所有除了v7+ 这一条外,其他的是否需要我无法验证。

dependencies {    implementation fileTree(dir: 'libs', include: ['*.jar'])    implementation 'com.android.support:appcompat-v7:+'    implementation 'com.android.support.constraint:constraint-layout:1.1.3'    testImplementation 'junit:junit:4.12'    androidTestImplementation 'com.android.support.test:runner:1.0.2'    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'}

更多相关文章

  1. Manpower代招-高级Android开发工程师@成都
  2. 自动获取svn版本号并替换android版本号
  3. AndroidStudio打包及引用aar - Android
  4. Android(安卓)studio使用JNI实例(1)
  5. android这个问题是咋回事儿呀??
  6. Kotlin Hello World
  7. vlc编译
  8. AndroidStudio使用技巧
  9. 微信Android模块化架构重构实践

随机推荐

  1. HTML5移动开发技术要点总结及各事件含义
  2. html页面输出pdf格式文件(一步步很详细)
  3. 小强的HTML5移动开发之路(53)——jQueryMob
  4. html中padding和margin的区别
  5. HTML结构语义化
  6. ASP.NET按部分ID查找控件
  7. HTML5 AJAX跨域请求
  8. 前端引用公共html模块方案探索
  9. 从PHP数组创建HTML列表
  10. 为什么css不能与这个div一起工作?