Commit 5200f9ab6e297a440941725608308c6a310e3aa6
1 parent
9df45dc0
添加数据
Showing
3 changed files
with
22 additions
and
1 deletions
.idea/vcs.xml
app/build.gradle
| ... | ... | @@ -10,12 +10,23 @@ android { |
| 10 | 10 | versionCode 1 |
| 11 | 11 | versionName "1.0" |
| 12 | 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| 13 | + multiDexEnabled true | |
| 13 | 14 | } |
| 15 | + signingConfigs { | |
| 16 | + myConfig { | |
| 17 | + storeFile file("mykeystore.jks") | |
| 18 | + storePassword "123456" | |
| 19 | + keyAlias "123456" | |
| 20 | + keyPassword "123456" | |
| 21 | + } | |
| 22 | + } | |
| 23 | + | |
| 24 | + | |
| 14 | 25 | buildTypes { |
| 15 | 26 | release { |
| 16 | 27 | minifyEnabled true |
| 17 | 28 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| 18 | - | |
| 29 | + signingConfig signingConfigs.myConfig | |
| 19 | 30 | } |
| 20 | 31 | debug { |
| 21 | 32 | minifyEnabled false | ... | ... |
app/proguard-rules.pro
| ... | ... | @@ -52,6 +52,15 @@ |
| 52 | 52 | -keep class com.cnlive.libs.util. { *;} |
| 53 | 53 | |
| 54 | 54 | |
| 55 | +-keep class io.rong.** {*;} | |
| 56 | + -keep class * implements io.rong.imlib.model.MessageContent {*;} | |
| 57 | + -dontwarn io.rong.push.** | |
| 58 | + -dontnote com.xiaomi.** | |
| 59 | + -dontnote com.google.android.gms.gcm.** | |
| 60 | + -dontnote io.rong.** | |
| 61 | + -keep public class * extends android.content.BroadcastReceiver | |
| 62 | + | |
| 63 | + | |
| 55 | 64 | |
| 56 | 65 | # Add project specific ProGuard rules here. |
| 57 | 66 | # By default, the flags in this file are appended to flags specified | ... | ... |