bmob / bmob-flutter-sdk

Bmob Flutter SDK
49 stars 26 forks source link

WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. #6

Closed wxpcl123 closed 5 years ago

wxpcl123 commented 5 years ago

官方案例, 就没成功过, 哎....

// 环境 [√] Flutter is fully installed. (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17134.706], locale zh-CN) [√] Android toolchain - develop for Android devices is fully installed. (Android SDK version 28.0.3) [√] Android Studio is fully installed. (version 3.4) [√] VS Code is fully installed. (version 1.33.1) [√] Connected device is fully installed. (1 available)

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

Configure project :app 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 more information. 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 more information. Command: D:\temp2\data_demo\android\gradlew.bat app:properties

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