Android:友盟分享 AS开发配置
2016-02-25 15:43
501 查看
Android:友盟分享 AS开发配置
使用Android studio 开发工具 加入友盟分享,可能会遇到分享失败、微信 调用不起来,或者编译运行时 提示错误。可进行以下信息配置:build.gradle 文件配置信息
apply plugin: ‘com.android.application’android {
compileSdkVersion 23
buildToolsVersion “23.0.2”
defaultConfig { applicationId "com.example.sange.myapplication" minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionName "1.0" multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } packagingOptions{ exclude'META-INF/DEPENDENCIES.txt' exclude'META-INF/LICENSE.txt' exclude'META-INF/NOTICE.txt' exclude'META-INF/NOTICE' exclude'META-INF/LICENSE' exclude'META-INF/DEPENDENCIES' exclude'META-INF/notice.txt' exclude'META-INF/license.txt' exclude'META-INF/dependencies.txt' exclude'META-INF/LGPL2.1' }
}
dependencies {
compile fileTree(include: [‘*.jar’], dir: ‘libs’)
testCompile ‘junit:junit:4.12’
compile ‘com.android.support:support-v4:23.+’
compile ‘com.android.support:design:23.1.1’
compile files(‘libs/umeng_social_sdk.jar’)
compile files(‘libs/SocialSDK_QQZone_3.jar’)
compile files(‘libs/SocialSDK_WeiXin_1.jar’)
}
相关文章推荐
- 使用C++实现JNI接口需要注意的事项
- Android IPC进程间通讯机制
- Android Manifest 用法
- [转载]Activity中ConfigChanges属性的用法
- Android之获取手机上的图片和视频缩略图thumbnails
- Android之使用Http协议实现文件上传功能
- Android学习笔记(二九):嵌入浏览器
- android string.xml文件中的整型和string型代替
- i-jetty环境搭配与编译
- android之定时器AlarmManager
- android wifi 无线调试
- Android Native 绘图方法
- Android java 与 javascript互访(相互调用)的方法例子
- android 代码实现控件之间的间距
- android FragmentPagerAdapter的“标准”配置
- Android"解决"onTouch和onClick的冲突问题
- android:installLocation简析
- android searchView的关闭事件
- SourceProvider.getJniDirectories