feat
This commit is contained in:
@@ -2,18 +2,18 @@ apply plugin: 'com.android.application'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
signingConfigs { release {
|
signingConfigs { release {
|
||||||
storeFile file('../keystore/gamehall.keystore')
|
storeFile file('G:\\Works\\YouleApp\\android\\tsgame_android\\keystore\\daoqi_game_1.keystore')
|
||||||
storePassword 'tswl2015'
|
storePassword 'tswl0791'
|
||||||
keyPassword 'tswl2015'
|
keyPassword 'tswl0791'
|
||||||
keyAlias = 'gamehall'
|
keyAlias = 'gamehall'
|
||||||
v1SigningEnabled true
|
v1SigningEnabled true
|
||||||
v2SigningEnabled true
|
v2SigningEnabled true
|
||||||
}
|
}
|
||||||
|
|
||||||
debug {
|
debug {
|
||||||
storeFile file('../keystore/gamehall.keystore')
|
storeFile file('G:\\Works\\YouleApp\\android\\tsgame_android\\keystore\\daoqi_game_1.keystore')
|
||||||
storePassword 'tswl2015'
|
storePassword 'tswl0791'
|
||||||
keyPassword 'tswl2015'
|
keyPassword 'tswl0791'
|
||||||
keyAlias = 'gamehall'
|
keyAlias = 'gamehall'
|
||||||
v1SigningEnabled true
|
v1SigningEnabled true
|
||||||
v2SigningEnabled true
|
v2SigningEnabled true
|
||||||
@@ -24,7 +24,7 @@ android {
|
|||||||
buildToolsVersion '33.0.0'
|
buildToolsVersion '33.0.0'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.jx.jyhd"
|
applicationId "com.daoqi.lobby"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 32
|
targetSdkVersion 32
|
||||||
versionCode= 3
|
versionCode= 3
|
||||||
|
|||||||
@@ -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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -124,7 +124,8 @@ public class WeChatShareUtil {
|
|||||||
|
|
||||||
// 创建网页消息对象
|
// 创建网页消息对象
|
||||||
WXWebpageObject webpage = new WXWebpageObject();
|
WXWebpageObject webpage = new WXWebpageObject();
|
||||||
webpage.webpageUrl = webpageUrl;
|
String timestampUrl = webpageUrl + (webpageUrl.contains("?") ? "&" : "?") + "t=" + System.currentTimeMillis();
|
||||||
|
webpage.webpageUrl = timestampUrl;
|
||||||
|
|
||||||
// 创建多媒体消息
|
// 创建多媒体消息
|
||||||
WXMediaMessage msg = new WXMediaMessage(webpage);
|
WXMediaMessage msg = new WXMediaMessage(webpage);
|
||||||
@@ -133,7 +134,7 @@ public class WeChatShareUtil {
|
|||||||
|
|
||||||
// 设置缩略图 - 使用应用的启动图标 logo6 而不是 ic_launcher
|
// 设置缩略图 - 使用应用的启动图标 logo6 而不是 ic_launcher
|
||||||
Bitmap thumbBmp = BitmapFactory.decodeResource(mContext.getResources(),
|
Bitmap thumbBmp = BitmapFactory.decodeResource(mContext.getResources(),
|
||||||
mContext.getResources().getIdentifier("logo6", "drawable", mContext.getPackageName()));
|
com.jx.jyhd.R.drawable.logo6);
|
||||||
|
|
||||||
// 如果找不到logo6,则退回到使用ic_launcher
|
// 如果找不到logo6,则退回到使用ic_launcher
|
||||||
if (thumbBmp == null) {
|
if (thumbBmp == null) {
|
||||||
|
|||||||
BIN
keystore/daoqi_game_1.keystore
Normal file
BIN
keystore/daoqi_game_1.keystore
Normal file
Binary file not shown.
Reference in New Issue
Block a user