问题
I'm just trying to run the first app and this is what happens:
FAILURE: Build failed with an exception.
What went wrong: A problem was found with the configuration of task ':app:processDebugResources'.
File 'C:\Users\XXXX\Appdata\Local\Android\sdk\platforms\android-28\android.jar' specified for property 'androidJar' does not exist.
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 15s Gradle task assembleDebug failed with exit code 1 Exited (sigterm)
The file is on the android-29 folder! what should I do?
回答1:
Image Please update your android sdk.
You don't have install api 28. Please open your android sdk and install android sdk 28.
来源:https://stackoverflow.com/questions/59542137/test-drive-on-flutter-android-jar-file-not-found