I was setting the style.xml to set it as another theme style
but after setting it it give out the error
error: Error retrieving parent for item: No resource found that matches the
given name 'android:Theme.DeviceDefault.Light'.
here is my code
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="android:Theme.DeviceDefault.Light">
</style>
</resources>
i try the answer too but it given out
[2016-03-08 18:15:53 - com.FF_studio.device_flash_1] F:\\rico\\android\\work\\com.FF_studio.device_flash_1\\res\\values-v14\\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.DeviceDefault.Light'. [2016-03-08 18:15:53 - com.FF_studio.device_flash_1] [2016-03-08 18:34:15 - com.FF_studio.device_flash_1] F:\\rico\\android\\work\\com.FF_studio.device_flash_1\\res\\values-v14\\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:style/Theme.DeviceDefault.Light'. [2016-03-08 18:34:15 - com.FF_studio.device_flash_1]
试试这个
parent="android:style/Theme.DeviceDefault.Light"
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.