I suddenly cannot build my Android app when including the AppCompat library, which is basically required in all Android apps now.
E: aapt: Found tag id where item is expected [/../EBuild/Obj/.../Cooper-Android/aar/savedstate-1.1.0/res/values/values.xml (3)] E: aapt: Found tag id where item is expected [/../EBuild/Obj/.../Cooper-Android/aar/lifecycle-viewmodel-2.3.0/res/values/values.xml (3)] E: aapt: Found tag id where item is expected [/../EBuild/Obj/.../Cooper-Android/aar/lifecycle-runtime-2.3.0/res/values/values.xml (3)]
The contents of the problematic
<?xml version="1.0" encoding="utf-8"?> <resources> <id name="view_tree_view_model_store_owner"/> </resources>
It looks like appcompat has unbounded dependencies on savedstate, lifecycle-viewmodel, and lifecycle-runtime, all of which recently updated to include this problematic
values.xml file. The file is not included in previous versions of these dependencies, so there was no error previously.
org.gradletest.zip (1.4 MB)