如题?
cmd中使用gradle build怎么编译也采用本地的gradle配置,和android studio一样。
现在出现异常:
could not resolve all dependencies for configuration “classpath”.
required by:
unspecified.
connection to https://jcenter.bintray.com refused.
离线肯定是没办法访问到这个网址的,怎么跳过这个步骤,使用本地环境变量中配置的gradle环境。
cmd中使用gradle build怎么编译也采用本地的gradle配置,和android studio一样。
现在出现异常:
could not resolve all dependencies for configuration “classpath”.
required by:
unspecified.
connection to https://jcenter.bintray.com refused.
离线肯定是没办法访问到这个网址的,怎么跳过这个步骤,使用本地环境变量中配置的gradle环境。
解决方案
40
gradle build –offline