I Got this error after installing Android Studio
A problem occurred configuring root project 'afsar'.
> Could not resolve all files for configuration ':classpath'.
> Could not find bundletool-1.11.0.jar (com.android.tools.build:bundletool:1.11.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/1.11.0/bundletool-1.11.0.jar
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
I added these lines to gradle but not work:
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://maven.google.com' }
jcenter()
Finally I downloaded bundletool-1.11.0.jar file but I don't know where to paste it. please help!
Answer: I selected the latest version of gradle for my app and my problem was solved!!!
gradle-version: 8.0-rc-2
Android-gradle-plugin-version: 7.4.0-beta04