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 // v1SigningEnabled true
// v2SigningEnabled true // v2SigningEnabled true
// } // }
W5A {
storeFile file("keystore/Unisoc_W5A.jks")
storePassword "123456"
keyAlias "Unisoc_W5A"
keyPassword "123456"
v2SigningEnabled false
}
} }
buildTypes { 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.initWith(debug)
// Aigo1071Debug { // Aigo1071Debug {
// versionNameSuffix "-debug" // versionNameSuffix "-debug"
@@ -271,7 +299,7 @@ android {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
if (outputFile != null) { 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 output.outputFileName = fileName
} }
} }
@@ -296,7 +324,7 @@ android {
variant.outputs.each { output -> variant.outputs.each { output ->
def outputFile = "" def outputFile = ""
if (outputFile != null) { 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) 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(); // IActivityManager activityManager = ActivityManagerNative.getDefault();
// try { // try {
// activityManager.setActivityController(new KuxinActivityController(), true); // activityManager.setActivityController(new KuxinActivityController(), false);
// } catch (RemoteException e) { // } catch (RemoteException e) {
// Log.e(TAG, "setActivityController: " + e.getMessage()); // Log.e(TAG, "setActivityController: " + e.getMessage());
// e.printStackTrace(); // e.printStackTrace();

View File

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

View File

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

View File

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