change ip

master
hwf452 2 years ago
parent f90f6adb22
commit b46e733aec

@ -16,9 +16,25 @@ android {
resConfigs "zh", "en" resConfigs "zh", "en"
resConfigs "hdpi" resConfigs "hdpi"
} }
buildFeatures {
buildConfig = true
}
signingConfigs {
release {
keyAlias 'key0'
storeFile file('../key/keystore1')
storePassword 'abc123123'
keyPassword 'abc123123'
v1SigningEnabled true //V1
v2SigningEnabled true //V2
}
}
/* keypassword:abc123123 alias key0*/ /* keypassword:abc123123 alias key0*/
buildTypes { buildTypes {
debug {
minifyEnabled false
buildConfigField "boolean", "LOG_ERROR", "true"
}
release { release {
lintOptions { lintOptions {
checkReleaseBuilds false checkReleaseBuilds false
@ -28,6 +44,14 @@ android {
zipAlignEnabled true // zip zipAlignEnabled true // zip
debuggable false // debug debuggable false // debug
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField "boolean", "LOG_ERROR", "false"
signingConfig signingConfigs.release //
//apk
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "filesync.apk"
}
};
} }
} }

@ -3,8 +3,8 @@ package com.rehome.filesync.contans;
public class Contans { public class Contans {
//public static String IP = "http://10.20.1.100:8102/"; public static String IP = "http://10.20.1.100:8102/";
public static String IP = "https://www.zjtsp.com/"; //public static String IP = "https://www.zjtsp.com/";
// 获取文件列表 // 获取文件列表
public static String GET_FILE_LIST = "getFileList.ashx"; public static String GET_FILE_LIST = "getFileList.ashx";

Loading…
Cancel
Save