简体   繁体   中英

Android/Eclipse: How to create a new project without appcompat_v7

Everytime I create an android project in eclipse it starts with an error "no resources found that matches the given name: attr xxx", in addition to a appcompat_v7 added as a project.

I found a way to resolve this issue in my current app by totally removing the ActionBar, avoiding using less than API 11, modifying all XML files and removing the created appcompat_v7 project. This solution, however, is tedious and must be done everytime I need to create, even, a simple a project.

My question is not "what is appcompat_v7", my question is how to create project without having this error everytime ?

Why you want to create a project without appcompat_v7 ?. It gives you compatibility for API's under 11, so your app will work in old devices...

If anyway you want to create a project without it, in Eclipse:

Create a new Android Application Project and uncheck Create activity in step two (Configure project).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM