Android开发报错: Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’
来源:互联网 发布:网络是把双刃剑章郑 编辑:程序博客网 时间:2024/05/01 01:56
将Gradle从1.5升级到2..0以上的时候,有时编译会报这个错:Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’
一种解决方法是:将原项目的build.gradle文件中的这段:
allprojects { repositories { jcenter() mavenCentral() maven { url 'https://maven.fabric.io/public' } maven { url getMavenRepoUrl() credentials { username getMavenUsername() password getMavenApiKey() } } flatDir { dirs 'libs' } }}
改成:
allprojects { repositories { jcenter() mavenCentral() maven { url 'https://maven.fabric.io/public' } maven { url "https://jitpack.io" } flatDir { dirs 'libs' } }}
对比修改其中不同的地方即可,在我的项目里测试通过,希望对大家有用。
1 0
- Android开发报错: Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’
- Error:Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’
- Android报错解决 UIL doesn't support scheme(protocol) by default [file:/]. You should impleme
- Client does not support authentication protocol requested by server: MYSQL
- 解决:Client does not support authentication protocol requested by server
- Client does not support authentication protocol requested by server;
- 开发板Mount报错Protocol not supported
- Authentication method password not supported by the server at this stage.
- Authentication method password not supported by the server at this stage
- does not support authentication protocol问题解决办法
- Client does not support authentication protocol
- Client does not support authentication protocol
- Client does not support authentication protocol requested
- Client does not support authentication protocol
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 报错
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 报错
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 报错
- 关于"Client does not support authentication protocol requested by server”错误
- vtk实战(十三)——读取DICOM影像文件
- eclipse上android NDK开发环境的搭建(android-ndk-r10d\docs\Getting Started with the NDK)
- ios修改textField的placeholder的字体颜色大小
- POJ3628 Bookshelf2
- maven私服配置
- Android开发报错: Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’
- hdu3068 manacher算法模板
- 基于传统复制模式下的主从同步搭建测试
- 个人博客koalahl.github.io
- oracle 中 in函数
- Android 从framework层到HAL层调用实现(蓝牙串口)
- android 定义颜色color时6位或8位值的区别
- c++: stringstream的使用
- 二叉树系列(1)已知二叉树的中序遍历和前序遍历,如何求后序遍历