FlutterQRScanner-App icon indicating copy to clipboard operation
FlutterQRScanner-App copied to clipboard

Run issues after migrating to Androidx

Open KuuBee opened this issue 6 years ago • 0 comments

https://github.com/iampawan/FlutterQRScanner-App/issues/6#issuecomment-489368546 When I follow this answer migrating to Androidx,then Launching lib\main.dart on Android SDK built for x86 in debug mode

Launching lib/main.dart on Android SDK built for x86 in debug mode... Initializing gradle... Resolving dependencies...

  • Error running Gradle: ProcessException: Process "/Users/kuubee/Desktop/project/jiena/jingyi_deliver/android/gradlew" exited abnormally:

Configure project :app WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. Command: /Users/kuubee/Desktop/project/jiena/jingyi_deliver/android/gradlew app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

KuuBee avatar Nov 12 '19 09:11 KuuBee