Reputation: 368
I came across this article but this article suggests replacing the FragmentActivity's code with that of the old Activity code. I can do that but would like to know if there's a way to just create Activity instead. I updated to ADT v22.6 today. Could that be the problem?
Another problem is that this requires a min-SDK of 7 while right now I want a min-SDK of 3.
Also, I am using Eclipse and not Android Studio.
Thanks in advance!
Upvotes: 0
Views: 134
Reputation: 404
I'm afraid that google is enforcing us to use fragments activities instead of plain activities now. You either can go back to an SDK previous to 22.6 or just create the activities by just extending the class, adding a layout and adding the activity reference to the manifest.
Upvotes: 1
Reputation: 23648
The new ADT 22.6
has new feature added that it will automatically create the any new activity as FragmentActivity
not an single activity. So if you wish to create an Activity
you can create it by explicitly creating separate class and extends Activity.
Upvotes: 1