flutter_splash_screen icon indicating copy to clipboard operation
flutter_splash_screen copied to clipboard

Mainactivity.java file missing

Open feliciaeponou opened this issue 5 years ago • 2 comments

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 avatar Mar 31 '20 14:03 feliciaeponou

Same issue, if you have found a solution please share

Souvik73 avatar Aug 24 '21 11:08 Souvik73

run flutter create -a java .

Luckymartins3600 avatar Apr 21 '22 11:04 Luckymartins3600