fluttercommunity / fluttercommunity/flutter_webview_plugin

Could not resolve all files for configuration ':_internal_aapt2_binary'.

Open
#587 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

* What went wrong:
Could not resolve all files for configuration ':_internal_aapt2_binary'.
> Could not find com.android.tools.build:aapt2:3.2.1-4818971.
Searched in the following locations:
- file:/Users/lio/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
- file:/Users/lio/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
- file:/Users/lio/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
- file:/Users/lio/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
- file:/Users/lio/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
- file:/Users/lio/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.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-osx.jar
- http://download.flutter.io/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
- http://download.flutter.io/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
Required by:
project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s

The plugin flutter_webview_plugin could not be built due to the issue above.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the plugin build and inspect the Android SDK repositories and dependency resolution for com.android.tools.build:aapt2:3.2.1-4818971, which the error lists as missing. The work is done when the flutter_webview_plugin project builds without the unresolved _internal_aapt2_binary dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, flutter, java
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.