You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build samples/add_to_app/android_view
FAILURE: Build failed with an exception.
What went wrong:
A problem was found with the configuration of task ':flutter:mergeDebugAndroidTestAssets' (type 'MergeSourceSetFolders').
Gradle detected a problem with the following location: '/home/sasha/AndroidStudioProjects/test/flutter/flutter_samples/add_to_app/android_view/flutter_module_using_plugin/.android/Flutter/build/intermediates/library_assets/debug/packageDebugAssets/out'.
Reason: Task ':flutter:mergeDebugAndroidTestAssets' uses this output of task ':flutter:copyFlutterAssetsDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':flutter:copyFlutterAssetsDebug' as an input of ':flutter:mergeDebugAndroidTestAssets'.
Declare an explicit dependency on ':flutter:copyFlutterAssetsDebug' from ':flutter:mergeDebugAndroidTestAssets' using Task#dependsOn.
Declare an explicit dependency on ':flutter:copyFlutterAssetsDebug' from ':flutter:mergeDebugAndroidTestAssets' using Task#mustRunAfter.
how and where to fix it?
The text was updated successfully, but these errors were encountered:
I'm trying to build samples/add_to_app/android_view
how and where to fix it?
The text was updated successfully, but these errors were encountered: