1.2.8 W5A 平台
This commit is contained in:
@@ -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
BIN
app/keystore/Unisoc_W5A.jks
Normal file
Binary file not shown.
@@ -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();
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
W5ADebug {}
|
||||||
|
W5ARelease {}
|
||||||
Aigo1071Debug {}
|
Aigo1071Debug {}
|
||||||
Aigo1071Release {}
|
Aigo1071Release {}
|
||||||
UnisocS6688Debug {}
|
UnisocS6688Debug {}
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
W5ADebug {}
|
||||||
|
W5ARelease {}
|
||||||
Aigo1071Debug {}
|
Aigo1071Debug {}
|
||||||
Aigo1071Release {}
|
Aigo1071Release {}
|
||||||
UnisocS6688Debug {}
|
UnisocS6688Debug {}
|
||||||
|
|||||||
Reference in New Issue
Block a user