I have installed new android studio and Imported my existing android project. whenever I run the app I get "Error running MyProjectName []: No task to execute is specified"
7:23 PM Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar]
7:24 PM Gradle build finished in 38s 639ms
7:26 PM Error running MyProjectName []: No task to execute is specified
I have tried to resolve the error with no luck can anyone help?
I tried the solution the error went away but no apk generate.
Solution I found
GO run -> run -> then choose app, not your project name as image show below.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With