search

Home  >  Q&A  >  body text

android - 为什么这个项目的gradle无法联网?

大家讲道理大家讲道理2804 days ago799

reply all(4)I'll reply

  • 高洛峰

    高洛峰2017-04-17 17:21:01

    Look at gradle.properties in the project to see if proxy is set in it. It may be that the proxy is set up, so the network cannot be accessed.

    reply
    0
  • 阿神

    阿神2017-04-17 17:21:01

    gradle internet connection? This is the first time I heard this statement. Gradle has nothing to do with networking. If the application has a network request operation, add permissions in AndroidManifest.xml <uses-permission android:name="android.permission.INTERNET" />

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 17:21:01

    For network permission issues, you can try the method above.

    reply
    0
  • 迷茫

    迷茫2017-04-17 17:21:01

    gradle联网?第一次听到这种说法,gradle跟联网没有关系。如果是应用存在网络请求操作,则要在AndroidManifest.xml中添加权限<uses-permission android:name="android.permission.INTERNET" />

    reply
    0
  • Cancelreply