Kaynağa Gözat

修改版本号
修复不能打包的问题
添加启动微信小程序的功能

zengjiebin 7 yıl önce
ebeveyn
işleme
5507690df7

+ 2 - 3
app/build.gradle

@@ -153,7 +153,7 @@ dependencies {
 
     //其中latest.release指代最
 
-    compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
+    compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.6'
     debugCompile('com.readystatesoftware.chuck:library:1.1.0') {
         exclude group: 'com.android.support', module: 'design'
     }
@@ -218,10 +218,9 @@ dependencies {
     //    compile(name: 'view-release', ext: 'aar')
     compile 'com.flipboard:bottomsheet-core:1.5.3'
     compile 'com.flipboard:bottomsheet-commons:1.5.3'
-    compile 'com.google.protobuf:protobuf-java:3.2.0'
 
     compile files('libs/open_sdk_r5923_lite.jar')
-    compile files('libs/wechat-sdk-android-with-mta-1.1.6.jar')
+//    compile files('libs/wechat-sdk-android-with-mta-1.1.6.jar')
     compile files('libs/umeng_social_tool.jar')
     compile files('libs/umeng_social_shareboard.jar')
     compile files('libs/umeng_social_net.jar')

BIN
app/libs/wechat-sdk-android-with-mta-1.1.6.jar


+ 1 - 0
app/proguard-rules.pro

@@ -36,6 +36,7 @@
 -keep class com.tencent.mm.opensdk.** {   *;}
 -keep class com.tencent.wxop.** {   *;}
 -keep class com.tencent.mm.sdk.** {   *;}
+-keep class com.tencent.** {   *;}
 
 -dontwarn com.tencent.bugly.**
 -keep public class com.tencent.**{*;}

+ 2 - 1
app/src/main/res/layout/item_midong_wechat.xml

@@ -63,7 +63,8 @@
                 android:id="@+id/item_midong_wechat_des"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
-                android:lines="1"
+                android:maxLines="1"
+                android:ellipsize="end"
                 android:text="item_midong_wechat_des"
                 android:textColor="#8e8e8e"
                 android:textSize="10sp" />

+ 2 - 2
gradle.properties

@@ -17,8 +17,8 @@
 # org.gradle.parallel=true
 #android.injected.build.model.only.versioned = 3
 
-VERSION_NAME=3.2.6
-VERSION_CODE=3002006
+VERSION_NAME=3.2.7
+VERSION_CODE=3002007
 ANDROID_COMPILE_SDK_VERSION=27
 ANDROID_BUILD_TOOLS_VERSION=27.0.2
 ANDROID_MIN_SDK_VERSION=18