问题
I have an old app, builds with actionbarSherlock and appcompact. I have import the project from eclipse to gradle, but when I compile the project the shell shows me a lot of errors that warnsme that there are duplicates. Like this:
Error: Attribute "subtitleTextStyle" has already been defined.
How can I fix it?
回答1:
You can't use together ActionbarSherlock and Appcompat library.
They use the same attributes.
Also Actionbarsherlock was deprecated by the author 2 years ago.
I really suggest you switching to appcompat library. In this way you will able to use all the new features and the new support libraries (as the design support library).
来源:https://stackoverflow.com/questions/46299215/actionbarsherlock-conflicts-facebooks-sdk-facebook-android-sdk4-5