1.2.8 W5A 平台

1.2.8 W5A 平台
This commit is contained in:
2026-03-25 10:09:59 +08:00
parent ccf5f136ba
commit 38629ad73e
6 changed files with 47 additions and 11 deletions

View File

@@ -123,9 +123,37 @@ android {
// v1SigningEnabled true
// v2SigningEnabled true
// }
W5A {
storeFile file("keystore/Unisoc_W5A.jks")
storePassword "123456"
keyAlias "Unisoc_W5A"
keyPassword "123456"
v2SigningEnabled false
}
}
buildTypes {
W5ADebug.initWith(debug)
W5ADebug {
versionNameSuffix "-debug"
debuggable true
signingConfig signingConfigs.W5A
buildConfigField "String", "platform", '"YKWA5E"'
manifestPlaceholders = [
Baidu_AK: "YCmfZSw54O992lChzS3c4roYioitT54h"
]
}
W5ARelease.initWith(release)
W5ARelease {
signingConfig signingConfigs.W5A
buildConfigField "String", "platform", '"YKWA5E"'
manifestPlaceholders = [
Baidu_AK: "YCmfZSw54O992lChzS3c4roYioitT54h"
]
}
// Aigo1071Debug.initWith(debug)
// Aigo1071Debug {
// versionNameSuffix "-debug"
@@ -271,7 +299,7 @@ android {
applicationVariants.all { variant ->
variant.outputs.each { output ->
if (outputFile != null) {
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
def fileName = "${appName()}_${variant.versionCode}_V${variant.versionName}_${releaseTime()}_${buildType.name}.apk"
output.outputFileName = fileName
}
}
@@ -296,7 +324,7 @@ android {
variant.outputs.each { output ->
def outputFile = ""
if (outputFile != null) {
def fileName = "${appName()}-${variant.versionCode}-V${variant.versionName}-${releaseTime()}-${buildType.name}.apk"
def fileName = "${appName()}_${variant.versionCode}_V${variant.versionName}_${releaseTime()}_${buildType.name}.apk"
output.outputFileName = new File(outputFile, fileName)
}
}

BIN
app/keystore/Unisoc_W5A.jks Normal file

Binary file not shown.

View File

@@ -181,7 +181,7 @@ public class MainService extends Service implements MainSContact.MainView, Netwo
// IActivityManager activityManager = ActivityManagerNative.getDefault();
// try {
// activityManager.setActivityController(new KuxinActivityController(), true);
// activityManager.setActivityController(new KuxinActivityController(), false);
// } catch (RemoteException e) {
// Log.e(TAG, "setActivityController: " + e.getMessage());
// e.printStackTrace();

View File

@@ -4,11 +4,13 @@ buildscript {
repositories {
google()
mavenCentral()
// mavenCentral()
maven { url "https://jitpack.io" }
maven {url 'http://developer.huawei.com/repo/'}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
maven { url 'https://developer.huawei.com/repo/' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url "https://maven.aliyun.com/repository/jcenter" }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
}
dependencies {
@@ -22,11 +24,13 @@ buildscript {
allprojects {
repositories {
google()
mavenCentral()
// mavenCentral()
maven { url "https://jitpack.io" }
maven {url 'http://developer.huawei.com/repo/'}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
maven { url 'https://developer.huawei.com/repo/' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url "https://maven.aliyun.com/repository/jcenter" }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
}
gradle.projectsEvaluated {

View File

@@ -11,6 +11,8 @@ android {
}
buildTypes {
W5ADebug {}
W5ARelease {}
Aigo1071Debug {}
Aigo1071Release {}
UnisocS6688Debug {}

View File

@@ -13,6 +13,8 @@ android {
}
buildTypes {
W5ADebug {}
W5ARelease {}
Aigo1071Debug {}
Aigo1071Release {}
UnisocS6688Debug {}