小编rod*_*osa的帖子

具有代理设置的Android Studio Gradle Fabric"无法连接到网络"

我有一个Android项目,在Android Studio上使用Crashlytics with Fabric插件,设置文件的代理:

studio64.exe.vmoptions:

-Dhttps.proxyPort=8080
-Dhttps.proxyHost=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-Dhttps.proxyUser=xxxxx
-Dhttps.proxyPassword=xxxxxxxx
Run Code Online (Sandbox Code Playgroud)

gradle.properties:

systemProp.http.proxyPassword=xxxxx
systemProp.http.proxyHost=proxy-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
systemProp.http.proxyUser=xxxxxxxx
systemProp.http.proxyPort=8080

systemProp.https.proxyPassword=xxxxx
systemProp.https.proxyHost=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
systemProp.https.proxyUser=xxxxxxxx
systemProp.https.proxyPort=8080
Run Code Online (Sandbox Code Playgroud)

出于某种原因,我无法登录插头,显示消息"无法连接到网络"

任何人有任何想法或可能解决这个问题?

proxy android crashlytics android-studio

7
推荐指数
1
解决办法
2569
查看次数

如何将Github存储库托管到Gradle

我在Github上有一个存储库,我想在Android Studio中使用我的存储库:dependencies {compile'c​​om.google.code.gson:Gson:2+'} for gradle.有人知道怎么做吗?

android github repository android-studio android-gradle-plugin

1
推荐指数
1
解决办法
1025
查看次数