求大神们帮我看看,Androidstudio无法运行,之前装了最新版本是没问题的,后来想装之前的版本,结果出问题了,gradel出问题,后来又装回最新版本还是不对,尝试了各种方法,在新建项目的时候gradel build没问题了,之前一直贼慢,现在很快就好了,但是无法运行不知道为什么?
Execution failed for task ':app:mergeDebugResources'.
> Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
> Could not resolve com.android.tools.build:aapt2:4.1.2-6503028.
Required by:
project :app
> Could not resolve com.android.tools.build:aapt2:4.1.2-6503028.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/4.1.2-6503028/aapt2-4.1.2-6503028.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/4.1.2-6503028/aapt2-4.1.2-6503028.pom'.
> Connect to 127.0.0.1:80 [/127.0.0.1] failed: Connection refused: connect
> Could not resolve com.android.tools.build:aapt2:4.1.2-6503028.
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/aapt2/4.1.2-6503028/aapt2-4.1.2-6503028.pom'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/build/aapt2/4.1.2-6503028/aapt2-4.1.2-6503028.pom'.
> Connect to 127.0.0.1:80 [/127.0.0.1] failed: Connection refused: connect
Connection refused: connect
它都说 couldn not get 某某,下载问题。请重新下载。
卸下重新安装