最新的火烈鸟版,安装好后,就打包失败。显示read timed out。不知道什么原因。
后来在settings.gradle里,这样改了一下,就能使用Genertate Signed Bundle or APK里的APK功能了。
//google()
//mavenCentral()
gradlePluginPortal()
//手动添加//更改,需改过来才能升级Gradle
maven{ url 'https://maven.aliyun.com/repository/google'}
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
maven{ url 'https://maven.aliyun.com/nexus/content/groups/public'}
另一处是,
//google()
//mavenCentral()
//手动添加
maven{ url 'https://maven.aliyun.com/repository/google'}
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
maven{ url 'https://maven.aliyun.com/nexus/content/groups/public'}
同步后,运行打包,就可以在release文件夹里找到.apk了。