android - Conflict between project and facebook sdk -
i have added facebook sdk on project in android studio. works fine, there conflict between project sources , facebook.. "loading" message , close icon (x black button) showing wrong, , more strange appearing project resources.
and more strange, project getting string in "x" positon..
example:
<string name="string_teste_01">test 01</string> <string name="string_teste_02">test 02</string>
in case, "loading" message showing "test 02".. if put 1 more string this:
<string name="string_teste_01">test 01</string> <string name="string_teste_03">test 03</string> <string name="string_teste_02">test 02</string>
the "loading" message show "test 03"
the same occurs close icon.
[ "loading" exaple talking ]
http://i.stack.imgur.com/750trl.png
i'm assuming you're not using same names facebook resources (you can inside facebooksdk project's res directory see names used - should namespaced avoid clashes).
you may need clean/rebuild when add new resources, when you're including libraries have resources. because build process generates r.java file translates names integer constants, , when add new resource without doing clean/rebuild, new integer that's generated project's r file clash facebooksdk's r file.
Comments
Post a Comment