I have created a simple app.
I choose one of my android emulator to start.
The emulator started and appear successfully.
Then I choose "run without debugging"
It will say nothing and suddenly closed. But my emulator still open without starting the app.
Then I try with terminal and "flutter run"
After seconds it say this error to me.
FAILURE: Build failed with an exception.
* Where:
Build file 'G:\github\Unveil_Entertainment\Unveil\unveil_flutter\android\build.gradle.kts' line: 16
* What went wrong:
A problem occurred configuring project ':app'.
\> [CXX1101] NDK at C:\Users\Hp User\AppData\Local\Android\Sdk\ndk\26.3.11579264 did not have a source.properties file
* 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 1s
Running Gradle task 'assembleDebug'... 2,237ms
Error: Gradle task assembleDebug failed with exit code 1
- After that I installed NDK from android studio also.
- But still the same error
- What I have to do now?
***This error only getting when I choose android emulator to run my App, When I choose Edge browser to run app it will run very much successfully. But I want to try this with my android emulator.