diff --git a/app/build.gradle b/app/build.gradle index 49b6940..5182676 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -48,7 +48,7 @@ android { debug { minifyEnabled - signingConfig signingConfigs.release //签名配置 + //signingConfig signingConfigs.release //签名配置 } release { @@ -75,12 +75,11 @@ android { } productFlavors { - official{} + bugly {} + github {} baidu {} _360mobile {} - wandoujia {} - xiaomi {} - tencent {} + coolapk {} } productFlavors.all { flavor -> @@ -110,20 +109,8 @@ dependencies { compile 'com.github.bumptech.glide:glide:3.7.0' // Bugly Upgrade SDK compile 'com.tencent.bugly:crashreport_upgrade:latest.release' - //LeadCloud + //LeanCloud compile 'cn.leancloud.android:avoscloud-sdk:v3.+' - // 基础包 compile 'cn.leancloud.android:avoscloud-statistics:v3.+' - // 统计包 compile 'cn.leancloud.android:avoscloud-feedback:v3.+@aar' - // 用户反馈包 - compile files('libs/SocialSDK_QQ_Simplify.jar') - compile files('libs/SocialSDK_Sina_Simplify.jar') - compile files('libs/SocialSDK_WeChat_Simplify.jar') - compile files('libs/umeng_shareboard_widget.jar') - compile files('libs/umeng_social_api.jar') - compile files('libs/umeng_social_net.jar') - compile files('libs/umeng_social_shareboard.jar') - compile files('libs/umeng_social_shareview.jar') - compile files('libs/umeng_social_tool.jar') } diff --git a/app/src/main/java/com/ganxin/doingdaily/application/DoingDailyApp.java b/app/src/main/java/com/ganxin/doingdaily/application/DoingDailyApp.java index 7196f04..a82b4b9 100644 --- a/app/src/main/java/com/ganxin/doingdaily/application/DoingDailyApp.java +++ b/app/src/main/java/com/ganxin/doingdaily/application/DoingDailyApp.java @@ -83,7 +83,6 @@ private void initUmengShare() { PlatformConfig.setWeixin(ConstantValues.WECHAT_ID, ConstantValues.WECHAT_SECRET); PlatformConfig.setSinaWeibo(ConstantValues.SINA_KEY,ConstantValues.SINA_SECRET); PlatformConfig.setQQZone(ConstantValues.TENCENT_ID,ConstantValues.TENCENT_SECRET); - UMShareAPI.get(appContext); Config.REDIRECT_URL = ConstantValues.SINA_REDIRECT_URL; Config.DEBUG=BuildConfig.DEBUG; Config.isJumptoAppStore=true;