How do I add the library android-support-v7 in IntelliJ IDEA (Not Android Studio/Gradle)? -
i copy appcompat folder android sdk extras v7 folder , create android library module in project. compiling project errors, first 1 being
appcompat/res/layout/abc_action_mode_close_item.xml:17: error: error: no resource found matches given name (at 'contentdescription' value '@string/abc_action_mode_done').
looks appcompat needs mediarouter resources well. create android library module mediarouter. set mediarouter dependency appcompat library. compile. error
mediarouter/res/values/styles.xml:18: error: error retrieving parent item: no resource found matches given name 'widget.appcompat.actionbutton'.
add depenency appcompat mediarouter. compile. errors
appcompat/res/values/attrs.xml:32: error: attribute "windowactionbar" has been defined
help!
you need add "@string/abc_action_mode_done" in appcompat/res/values/strings.do not "set mediarouter dependency appcompat library".(in case,"@string/abc_action_mode_done" exists in appcompat/res/values/strings.i don't know why miss it.)
"add depenency appcompat mediarouter" necessary.
Comments
Post a Comment