简体   繁体   中英

Android project(4.4.2) is not running after eclipse & adt update

I updated my Sdk manager,eclipse & ADT but now old projects are not running. Its giving like error below

C:\\Users\\Deepak\\Desktop\\New folder\\VishwasBawa\\res\\values-v11\\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

C:\\Users\\Deepak\\Desktop\\New folder\\VishwasBawa\\res\\values-v14\\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

It looks like you're using the appcompat v7 library in your project. If you do, to resolve the error you've got, open project.properties file in your imported appcompat v7 project and change the target value to target.target=android-21 and save the file. Then, clean all Android projects. This should fix the errors in your Android project.

Note: Changing the target value to target.target=android-21 is equivalent to selecting the Properties of the appcompat project. Then, select Android | Project Build Target | Android 5.0.1 .

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