No resource ident ifier found for attribute 'widgetCategory' in package 'android'
问题 widgetCategory was added in Android 4.2 SDK level 17. I decompiled an APK with apktool, added the widgetCategory attribute to a xml file, and recompiled. The error is this: No resource identifier found for attribute 'widgetCategory' in package 'android' I have tried using the latest aapt and changing the sdk level in apktool.yml but neither solved the problem. Is there anything I need to change to add support for Android 4.2 to apktool? 回答1: Set build target to API 17. In Eclipse you can