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

Mainactivity.java file missing #9

Open
feliciaeponou opened this issue Mar 31, 2020 · 2 comments
Open

Mainactivity.java file missing #9

feliciaeponou opened this issue Mar 31, 2020 · 2 comments

Comments

@feliciaeponou
Copy link

In the readme file author said we have to edit Mainactivity.java file but in flutter flutter 1.12.13+hotfix8 there is no such file. When I add it I get the following error

FAILURE: Build failed with an exception.

What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

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 8s Gradle task assembleDebug failed with exit code 1

@feliciaeponou feliciaeponou changed the title Mainactivity.javafile missing Mainactivity.java file missing Mar 31, 2020
@Souvik73
Copy link

Same issue, if you have found a solution please share

@Luckymartins3600
Copy link

run flutter create -a java .

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

3 participants