radioaktiv radioaktiv - 1 year ago 112
Android Question

Can't add activity in Android Studio

I am trying to add another activity to my project but it seems like the options for that are greyed out

Here's what it looks like to me:

enter image description here

Answer Source

You need to change your minimum SDK level. That's why it's greyed out - yours is set to be too low.

In your AndroidManifest.xml, right under <manifest . . . >, add this:

 uses-sdk android:minSdkVersion="15" />

You can change the value there to any only really need 8 or higher for most of the activities you are trying to add.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download