Cannot access android.support.v4.app.*

Cannot access android.support.v4.app.*

 

 

 解决办法:

添加到受影响的 module build.gradle 中(比如app的gradle文件根代码下)

Cannot access android.support.v4.app.*

 

 

 configurations.all {
     resolutionStrategy.eachDependency {
         DependencyResolveDetails details ->
             def requested = details.requested
             if (requested.group == ‘com.android.support‘) {
                 if (!requested.name.startsWith("multidex")) {
                     details.useVersion ‘27.1.1‘
                 }
             }
     }
 }

 

Cannot access android.support.v4.app.*

上一篇:苹果电脑分区操作教程


下一篇:vue11----前端优化、路由懒加载(异步组件)、keep-alive、localStorage二次封装、vue-lazyload图片懒加载、mint-ui、封装加载loading条、axios请求x-www格式的数据、nginx代理、路由守卫、mint-ui实现下拉刷新,上拉加载更多、自己封装过哪些组件和模块