Unable to execute dex: Multiple dex files define Lcom/facebook/AccessToken$1;

Question:
Google Player:The app’s target SDK Version must be set to the latest version (currently 23) in order to ensure that newest platform behaviors and the correct default visual themes are applied.
Then I update Android SDK to 6.0(API 23) ,everything(Chartboost,AdColony) is OK except Facebook .and I find this http://stackoverflow.com/questions/7870265/unable-to-execute-dex-multiple-dex-files-define-lcom-myapp-rarray and follow ,but it not work .I follow https://github.com/sdkbox/sdkbox-sample-facebook/tree/master/cpp/proj.android, it not work either. I use 3.4 cpp version .Someone who can help me, Pardon my low English. Thanks a lot.

We still compiling against SDK 22, because if you do this for 23 you need to handle permissions in new way, it’s not enought just to write them in android manifest - I would say it little risky from your side to move to latest sdk.

BTW. you can check this to solve your issue:

http://developer.android.com/intl/ru/tools/building/multidex.html

Also it can be that you have included multiple same jar files, to avoid this -> you can set in gradle to exclude some specific libraries like adnroid-support and so on

BTW u using eclipse, I would recommend you to switch to gradle - it is much easier to handle have a try with android-studio.

can you do a search and see if there is any other facebook jar file there?