So I am new to app development I installed flutter as per the instruction on https://flutter.dev/docs/get-started/install
- Installed Flutter
- Installed Android Studio
When I am running the app this error comes up.
Here's the error msg
[Fatal Error] aapt2-3.2.1-4818971.pom:2:1: Content is not allowed in prolog.
FAILURE: Build failed with an exception.
- What went wrong: Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Could not resolve com.android.tools.build:aapt2:3.2.1-4818971.
Required by: project :app
Could not resolve com.android.tools.build:aapt2:3.2.1-4818971. Could not parse POM https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom Content is not allowed in prolog.
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 4s Finished with error: Gradle task assembleDebug failed with exit code 1