Launching lib\main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
Output: error: failed to open APK: Invalid file.
Command: C:\Users\user\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\ed5d63241c32b03b627a8ec4203b323c\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\
C:\Users\user\AppData\Local\Android\sdk\platforms\android-28\android.jar\
--manifest\
E:\Flutter_emreal\deneme\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\
-o\
E:\Flutter_emreal\deneme\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\
-R\
@E:\Flutter_emreal\deneme\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
E:\Flutter_emreal\deneme\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\
--custom-package\
com.example.deneme\
-0\
apk\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
* 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 53s
*******************************************************************************************
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
*******************************************************************************************
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)