Created
August 5, 2019 04:32
-
-
Save narenarjun/381f76ab75375680296018c05a41a87f to your computer and use it in GitHub Desktop.
flutter project androidx error when incorporated device location permission
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: D:\flutterbrewery\clima\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml:16: error: unexpected element <user-permission> found in <manifest>. | |
Command: C:\Users\NAREN\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\099a8dfeaae3e37f8f2b4e70d0454a6f\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\ | |
C:\Users\NAREN\AppData\Local\Android\sdk\platforms\android-28\android.jar\ | |
--manifest\ | |
D:\flutterbrewery\clima\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\ | |
-o\ | |
D:\flutterbrewery\clima\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\ | |
-R\ | |
@D:\flutterbrewery\clima\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\ | |
--auto-add-overlay\ | |
--java\ | |
D:\flutterbrewery\clima\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\ | |
--custom-package\ | |
com.narendrandev.clima\ | |
-0\ | |
apk\ | |
--output-text-symbols\ | |
D:\flutterbrewery\clima\build\app\intermediates\symbols\debug\R.txt\ | |
--no-version-vectors | |
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0 | |
Output: D:\flutterbrewery\clima\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml:16: AAPT: error: unexpected element <user-permission> found in <manifest>. | |
Command: C:\Users\NAREN\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\099a8dfeaae3e37f8f2b4e70d0454a6f\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\ | |
C:\Users\NAREN\AppData\Local\Android\sdk\platforms\android-28\android.jar\ | |
--manifest\ | |
D:\flutterbrewery\clima\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\ | |
-o\ | |
D:\flutterbrewery\clima\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\ | |
-R\ | |
@D:\flutterbrewery\clima\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\ | |
--auto-add-overlay\ | |
--java\ | |
D:\flutterbrewery\clima\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\ | |
--custom-package\ | |
com.narendrandev.clima\ | |
-0\ | |
apk\ | |
--output-text-symbols\ | |
D:\flutterbrewery\clima\build\app\intermediates\symbols\debug\R.txt\ | |
--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 23s | |
******************************************************************************************* | |
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment