Commit e66f2a0c9c152efd623085f991d508524a8c182e

Authored by 陈硕
1 parent 5200f9ab

添加混淆

app/build.gradle
@@ -14,7 +14,7 @@ android { @@ -14,7 +14,7 @@ android {
14 } 14 }
15 signingConfigs { 15 signingConfigs {
16 myConfig { 16 myConfig {
17 - storeFile file("mykeystore.jks") 17 + storeFile file("mykeystore2.jks")
18 storePassword "123456" 18 storePassword "123456"
19 keyAlias "123456" 19 keyAlias "123456"
20 keyPassword "123456" 20 keyPassword "123456"
app/proguard-rules.pro
@@ -49,7 +49,7 @@ @@ -49,7 +49,7 @@
49 49
50 50
51 -dontwarn com.cnlive.libs.util.** 51 -dontwarn com.cnlive.libs.util.**
52 - -keep class com.cnlive.libs.util. { *;} 52 + -keep class com.cnlive.libs.util.**{*;}
53 53
54 54
55 -keep class io.rong.** {*;} 55 -keep class io.rong.** {*;}
app/src/main/java/com/cnlive/im/ui/PrivateChatActivity.java
@@ -68,7 +68,6 @@ public class PrivateChatActivity extends AppCompatActivity implements View.OnCli @@ -68,7 +68,6 @@ public class PrivateChatActivity extends AppCompatActivity implements View.OnCli
68 sendMessageBtn = (Button) findViewById(R.id.send_message); 68 sendMessageBtn = (Button) findViewById(R.id.send_message);
69 sendMessageBtn.setOnClickListener(this); 69 sendMessageBtn.setOnClickListener(this);
70 linearLayoutUseID = (LinearLayout) findViewById(R.id.opposite_liner_useID); 70 linearLayoutUseID = (LinearLayout) findViewById(R.id.opposite_liner_useID);
71 -  
72 userId_btn_top = (Button) findViewById(R.id.userId_btn_top); 71 userId_btn_top = (Button) findViewById(R.id.userId_btn_top);
73 userId_btn_top.setOnClickListener(this); 72 userId_btn_top.setOnClickListener(this);
74 edit_layout = (LinearLayout) findViewById(R.id.edit_layout); 73 edit_layout = (LinearLayout) findViewById(R.id.edit_layout);