-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility #223
Comments
Updating, After create new project with command "flutter create --androidx {name}" and copy pubspec.yaml, assets (folder) and lib (folder) to new project, the build it's success. |
@akaytatsu yes, it requires androidx! Ok! |
I faced the same isuue, but the proposed solution did not help me |
Could you please elaborate the solution? flutter create --androidx {name} :what exactly name should be? |
@Chethansmash7 you don't need to add --androidX anymore as it's the default now. |
Yeah,even for me |
But still I am facing the same issue |
This has worked for me every time I had this problem. Just create a new app from the terminal with the command above and paste the lib dir and pubspec.yaml into your just created app and you should be good to go. For some weird reason my project was not running after some time but this solves the issue. Commeting to prove that this works as of May 2020 |
My app is androidX compatible, but i still face the issue... |
If you still have this error, upgrade your Flutter version and try to create a new fresh Flutter app and add only just this plugin as your dependency. If the example works, then your Flutter App has some other issues that, probably, it's not related to this plugin (because this plugin is already In that case, the solution given by @kleviss should work. |
This issue still persists after updating to 1.17.4 |
BUILD FAILED in 2m 15s |
I too face the same issue as @Faizi-Apps. Any luck in resolving this? |
any perfect solution ?? |
In my case, I removed the package "flutter_facebook_login: ^3.0.0" in pubspen.yaml file then it run well... |
if you have any packages like facebook_login,github, twitter remove them, firebase_auth is enough. |
i was using a some share package , i don't know the exact name ..when i remove then it works fine |
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility. any good solution for this |
Try adding this line In your Project folder > android > app > build.gradle: |
already added
…On Wed, 6 Jan 2021 at 10:31, PrinceGoyal ***@***.***> wrote:
Try adding this line In your Project folder > android > app > build.gradle:
multiDexEnabled true
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#223 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJOPUFHIOGIXQBWUF4DPED3SYQGWZANCNFSM4J2DTZHQ>
.
--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in
|
I am facing the same issue on a newly created Flutter app |
May be, this is due to the pubspec.yaml file in which if you remove any specific plugin it may happen. |
I ran 'flutter clean' and it solved my problem. |
Any update please??? FAILURE: Build failed with an exception.
BUILD FAILED in 1m 14s |
Any update please???
|
@tiklup11 had the same issue. no success with what worked for me
|
@seabass123 thanks man but didn't work for me. As soon as I install firebase_admob, i am getting these error. Also errors mention that all firebase packages [firestore_cloud, auth, core] use or override a deprecated API. Those all are latest packages and I am using latest version of flutter. |
me pasa lo mismo que a ti tiklup11 , encontraste una solucion? |
Please stop spamming here problems related to other plugins. |
alguien sabe como solucionar el error que tengo? |
I did change to this in my android/build.gradle--- classpath 'com.android.tools.build:gradle:3.5.4' |
I have added above classpath, then run 1. flutter clean, 2. flutter pub get, 3. flutter create . 4. flutter doctor -v 5. flutter run |
Saved my day, thanks brother |
@mrhmamun can you paste the outcomes of 5 steps you mentioned please |
after adding classpath rest commands run on cmd |
This solved my issue |
this soved my issue.. thanks @naveed9999 |
A similar solution worked for me. Add under dependencies instead of classpath. |
The build command still fails after doing all the things mentioned |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
After flutter upgrade, the project not building.
Environment
Flutter 1.12.13+hotfix.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 27321ebbad (2 days ago) • 2019-12-10 18:15:01 -0800
Engine • revision 2994f7e1e6
Tools • Dart 2.7.0
Flutter version:
**Plugin version: "2.1.0+1"
Android version:
iOS version:
Xcode version:
Device information:
Description
Expected behavior:
Current behavior:
Steps to reproduce
Just try build.
Images
LOG:
Launching lib\main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.
Execution failed for task ':app:preDebugBuild'.
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 built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin flutter_inappwebview...
The plugin flutter_inappwebview could not be built due to the issue above.
Exited (sigterm)
The text was updated successfully, but these errors were encountered: