質問

I am really annoyed at the way the new ADT is working. It has been a week since have started trying to figure out how to stop Android Support Library from being included into new projects. But even after uninstalling the library, I keep getting the imports into the codes with MainActivity inherting/implementing from ActionBarActivity.

How do I stop this problem??

Please help

役に立ちましたか?

解決

How do I stop this problem?

Do not create an activity when you create the new project. What is adding the extra libraries is the new-activity wizard, both on its own and as integrated in the new-project wizard.

Instead, create your activity classes, resources, and manifest entries by hand, until such time as they provide other templates that do not require these libraries.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top