shikong-hexie
zhangjiannan 2024-11-26 19:16:44 +08:00
parent 7f3c98059a
commit 3ab385a8f6
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,9 @@
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
buildscript {
ext {
agp_version = '7.2.0'
}
repositories {
mavenCentral()
google()
@ -8,7 +11,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "com.android.tools.build:gradle:$agp_version"
}
}
@ -61,13 +64,13 @@ android {
buildTypes {
debug {
minifyEnabled false
useProguard false
//useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'
jniDebuggable true
}
release {
minifyEnabled false
useProguard false
//useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'
signingConfig signingConfigs.debug
}

View File

@ -250,7 +250,7 @@ public class MyActivity extends IUnityPlayerActivity {
public void run() {
if(!isInit){
// printLog("初始化");
Sdk.getInstance().init(MyActivity.this, "97600749950592832394231573804243", "91498998");
Sdk.getInstance().init(MyActivity.this, "94947931220654086028388068177507", "09189502");
}else {
// printLog("登录");
User.getInstance().login(MyActivity.this);