diff --git a/app/build.gradle b/app/build.gradle index ac3456a..d52d20e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,18 +2,18 @@ apply plugin: 'com.android.application' android { signingConfigs { release { - storeFile file('../keystore/gamehall.keystore') - storePassword 'tswl2015' - keyPassword 'tswl2015' + storeFile file('G:\\Works\\YouleApp\\android\\tsgame_android\\keystore\\daoqi_game_1.keystore') + storePassword 'tswl0791' + keyPassword 'tswl0791' keyAlias = 'gamehall' v1SigningEnabled true v2SigningEnabled true } debug { - storeFile file('../keystore/gamehall.keystore') - storePassword 'tswl2015' - keyPassword 'tswl2015' + storeFile file('G:\\Works\\YouleApp\\android\\tsgame_android\\keystore\\daoqi_game_1.keystore') + storePassword 'tswl0791' + keyPassword 'tswl0791' keyAlias = 'gamehall' v1SigningEnabled true v2SigningEnabled true @@ -24,7 +24,7 @@ android { buildToolsVersion '33.0.0' defaultConfig { - applicationId "com.jx.jyhd" + applicationId "com.daoqi.lobby" minSdkVersion 21 targetSdkVersion 32 versionCode= 3 diff --git a/app/release/output-metadata.json b/app/release/output-metadata.json deleted file mode 100644 index cda7cd8..0000000 --- a/app/release/output-metadata.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 2, - "artifactType": { - "type": "APK", - "kind": "Directory" - }, - "applicationId": "com.jx.jyhd", - "variantName": "processReleaseResources", - "elements": [ - { - "type": "SINGLE", - "filters": [], - "versionCode": 3, - "versionName": "3.6.3", - "outputFile": "app-release.apk" - } - ] -} \ No newline at end of file diff --git a/app/src/main/java/com/jx/jyhd/simcpux/util/WeChatShareUtil.java b/app/src/main/java/com/jx/jyhd/simcpux/util/WeChatShareUtil.java index 712135e..f680501 100644 --- a/app/src/main/java/com/jx/jyhd/simcpux/util/WeChatShareUtil.java +++ b/app/src/main/java/com/jx/jyhd/simcpux/util/WeChatShareUtil.java @@ -124,7 +124,8 @@ public class WeChatShareUtil { // 创建网页消息对象 WXWebpageObject webpage = new WXWebpageObject(); - webpage.webpageUrl = webpageUrl; + String timestampUrl = webpageUrl + (webpageUrl.contains("?") ? "&" : "?") + "t=" + System.currentTimeMillis(); + webpage.webpageUrl = timestampUrl; // 创建多媒体消息 WXMediaMessage msg = new WXMediaMessage(webpage); @@ -133,7 +134,7 @@ public class WeChatShareUtil { // 设置缩略图 - 使用应用的启动图标 logo6 而不是 ic_launcher Bitmap thumbBmp = BitmapFactory.decodeResource(mContext.getResources(), - mContext.getResources().getIdentifier("logo6", "drawable", mContext.getPackageName())); + com.jx.jyhd.R.drawable.logo6); // 如果找不到logo6,则退回到使用ic_launcher if (thumbBmp == null) { diff --git a/keystore/daoqi_game_1.keystore b/keystore/daoqi_game_1.keystore new file mode 100644 index 0000000..8406798 Binary files /dev/null and b/keystore/daoqi_game_1.keystore differ