Sina Weibo SDK error:multiple Dex
This address: Http://blog.csdn.net/caroline_wendy
error:android dex: [Weibosdkdemo] com.android.dex.DexException:Multiple dex files define lcom/sina/weibo/sdk/ Buildconfig;
Reference: http://stackoverflow.com/questions/23236790/ multiple-dex-files-define-lcom-amazon-ags-buildconfig-when-using-gamecirclesdk-i/26798722#26798722Reference: http://open.weibo.com/qa/index.php?qa=29527&qa_1=%E5%AF%BC%E5%85%A5weibosdk%E5%87%BA%E7%8E%B0%E9%94 %99%e8%af%af
Modification Method :1. Import demo-src project;2. In weibosdk , the new folder WCL, the src com.sina.weibo.sdk content, moved to it;display as files within COM.SINA.WEIBO.SDK.WCL, modify R file errors, add WCL directory;3. Modify the Androidmanifestpackage:package= "COM.SINA.WEIBO.SDK.WCL"4. Modify Project Settings->facets->weibosdkdemo;Packaging label->custom Debug KeyStore, select the debug.keystore within the file. 5. Configure Project dependencies:Weibosdkdemo relies on WEIBOSDK,WEIBOSDK to rely on Libs;android-support-v4 Delete.
After modification:git location: https://github.com/SpikeKing/weibo_android_sdk.git
Android-Sina Weibo SDK Error:multiple Dex