Android-Sina Weibo SDK Error:multiple Dex

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.