NZ1999
NZ1999

Reputation: 21

Why don't I have the option to create a new activity in Android Studio 4.1?

What I see when trying to add a new activity to a project:

Upvotes: 1

Views: 108

Answers (2)

NZ1999
NZ1999

Reputation: 21

The root of my problem was an out of date SDK. This can be updated by searching for SDK Platform and following the instructions here:

Gradle sync failed: com.android.tools.idea.gradle.project.sync.idea.issues.SdkPlatformNotFoundException: Module: 'app' platform 'android-29' not found

Update that, select synch project with gradle files from the file menu, and you're good to go

Upvotes: 1

ahmad bajwa
ahmad bajwa

Reputation: 1068

Try to do invalidate Cache/ Restart. If this not work try out Sync Project With Gradle files

Upvotes: 0

Related Questions