1

I face this error when i am trying to run app in AVD in Android Studio 3.3. And I have to say I have tried adding google() in gradle . actually it was there before i face this problem .I downloaded the jar file from the link that error gives me , but I donot know where to put it.So please if you have a solution different with google(), please share it. Thanks in Advance

Could not find aapt2-windows.jar (com.android.tools.build:aapt2:3.3.0-5013011). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.3.0-5013011/aapt2-3.3.0-5013011-windows.jar

1 Answers1

0

Add mavenCentral() in build.gradle:

buildscript {
    repositories {
        mavenCentral()
        jcenter()
    }
Pingolin
  • 3,161
  • 6
  • 25
  • 40