Skip to content
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

Gradle task assembleDebug failed error. #22

Closed
makayait opened this issue Jul 10, 2019 · 2 comments
Closed

Gradle task assembleDebug failed error. #22

makayait opened this issue Jul 10, 2019 · 2 comments

Comments

@makayait
Copy link

Hello Duy, first of all, thank you for sharing this project as it really helps me to learn more advanced Flutter development.

When I pulled the repository and opened the project, I, however, got the following error when trying to build the app on my Android phone with "Flutter run".

Finished with error: Gradle task assembleDebug failed with exit code 1

This error pops up on commit with index e2f0ef7.

The same error pops up if I open the project in Android Studio instead of Visual Studio Code.

Is there maybe something that I have missed or could this be a bug?

@duytq94
Copy link
Owner

duytq94 commented Jul 10, 2019

Hi @Sekaiichi4
I just updated all plugins to the latest version and migrate to AndroidX.
So let try the simplest way first is removing the entire project and re-clone it => done.
If the issue still exists, simply go back the article again and come to AndroidX compatibility issues section I added to solve the issue.

Screen Shot 2019-07-10 at 10 29 20 PM

@duytq94 duytq94 closed this as completed Jul 10, 2019
@duytq94
Copy link
Owner

duytq94 commented Jul 10, 2019

Btw, keep feeling free to discuss.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants