android - Error rendering components from an included library in IntelliJ IDEA 14 -


i have layout file includes controls part of library module compiled in project.

intellij reports can't dispaly control, despite shows when running actual android app on device.

it suggests rebuilding project, creating class, or fixing build path. module has controls in dependencies tab, , set export, , scope=compile.

the layout file references custom controls via qualified package/class name. rendering api i've selected same version target sdk set in androidmainfest.xml

i have tried both using tag class attribute pointing class, tag tag name qualified class. both result in intellij not being able render view.

i able solve specifying project compiler output directory @ intellij project level. prior fix, library modules used output path subdirectory of module defined.

file > project structure > project compiler output. set standard "\out"

next, set library modules use inherited project output path. project settings > modules > [library module name] > android > packaging tab > "use resources directory specified @ "structure" section radio button.

also make sure "include assets dependencies apk set.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -