0

When I try to add any new activity to an existing new flutter project in Android Studio, it says project not ready, minSdk >= 16.

I created a new flutter project, fully new with flutter create name. When I try to add a widget activity to the android/app folder in Android Studio it says project not ready, mindSdk >= 16. I've tried changing the SDK from Project Structure, changing local.properties and build.gradle, I even changed the default Flutter project settings. I've tried this with mutliple flutter projects and created them from the command line and the Android Studio project creator.

1
  • go to build.gradle in app folder of android folder of your project and change it manually Commented May 28, 2024 at 8:42

1 Answer 1

-1

Try to run flutter doctor once. You can also try to Invalidate cache in Android Studio. I hope you have already tried upgrading the SDK version in the Gradle file. If this issue still exists, please give us the exact error log.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.