flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

🐛 [cloud_firestore, firebase_admob] AndroidX incompatibilities in a plugin.

Open Adityapanther opened this issue 5 years ago • 2 comments

AndroidX incompatibilities in a plugin.

while debugging app getting error and error is written below.

Launching lib\main.dart on Redmi Note 7S in debug mode...
Parameter format not correct -

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     C:\Users\Aditya_kumar\.gradle\caches\transforms-2\files-2.1\64c98a67cb9daf6485fbefd78c4aebac\play-services-ads-lite-19.7.0\AndroidManifest.xml:27:5-43:15: AAPT: error: unexpected element <queries> found in <manifest>.

* 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 7m 24s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
√ `android\settings_aar.gradle` created successfully.
Building plugin cloud_firestore...
Exception: The plugin cloud_firestore could not be built due to the issue above.
Exited (sigterm)

Adityapanther avatar Feb 23 '21 06:02 Adityapanther

This just means you are using a gradle version that is too low. Please see https://github.com/miguelpruivo/flutter_file_picker/wiki/Troubleshooting#-issue-2

Closing this issue since none of the information in the template was provided anyway.

markusaksli-nc avatar Feb 23 '21 10:02 markusaksli-nc

@markusaksli-nc I am using gradle version 6.1.1

Adityapanther avatar Feb 23 '21 11:02 Adityapanther