Could not find com.android.tools.build:aapt2:3.2.1-4818971.
Searched in the following locations:
file:/H:/Android/android-sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/H:/Android/android-sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-windows.jar
file:/H:/Android/android-sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/H:/Android/android-sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-windows.jar
file:/H:/Android/android-sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/H:/Android/android-sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-windows.jar
https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
https://jcenter.bintray.com/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-windows.jar
https://jitpack.io/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
https://jitpack.io/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-windows.jar
Required by:
project :mnvideoplayerlibrary
In the gradle file of the project, add Google () before or after jcenter()
Just synchronize again
Similar Posts:
- Could not find com.android.tools.build:gradle:3.3.0.
- [Solved] Could not find method google() for arguments [] on repository container,rn react-native-camera …
- [Solved] Ionic3 Package Error: Could not resolve all files for configuration ‘:classpath’.
- [Solved] Android Studio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- AS Import Project Error: Plugin with id ‘com.android.application’ not found.
- Error:(1, 0) Plugin with id ‘android’ not found.
- [Solved] Android Warning: Gradle DSL method not found: ‘android()’
- Solve the problem of low version of Android SDK build tools
- [Solved] Could not find com.android.tools.build:gradle:3.0.1
- [Solved] Android studio AAPT2 error: Execution failed for task ‘:app:mergeDebugResources’.