詹子聪 vor 5 Jahren
Ursprung
Commit
86c4b4288a

+ 9 - 0
app/build.gradle

@@ -2,6 +2,14 @@ apply plugin: 'com.android.application'
 apply plugin: 'realm-android'
 
 android {
+    signingConfigs {
+        release {
+            storeFile file('E:\\private_projects\\shiwushu\\commonkey')
+            storePassword 'away6899458'
+            keyAlias = 'sz'
+            keyPassword 'away6899458'
+        }
+    }
     compileSdkVersion 27
     defaultConfig {
         applicationId "com.itant.shiwushu"
@@ -14,6 +22,7 @@ android {
     buildTypes {
         release {
             minifyEnabled false
+            signingConfig signingConfigs.release
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
         }
     }

BIN
app/release/app-release.apk


+ 1 - 0
app/release/output.json

@@ -0,0 +1 @@
+[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.itant.shiwushu","split":"","minSdkVersion":"19"}}]

+ 1 - 1
app/src/main/java/com/itant/shiwushu/constant/ServerHost.java

@@ -10,7 +10,7 @@ package com.itant.shiwushu.constant;
 
 public class ServerHost {
     // 这个是搬瓦工的
-    public static final String URL_BASE = "http://www.shuiliu520.com/laf";
+    public static final String URL_BASE = "http://app.jianjie.life:11111/laf";
 
     // 这个是本地发布的服务器
     //public static final String URL_BASE = "http://192.168.31.17:8080/laf";

+ 2 - 1
app/src/main/res/layout/activity_publish_post.xml

@@ -293,6 +293,7 @@
             android:textColor="@color/gray_text_hint"
             android:text="温馨提示:\n1. 联系方式可以填写你的电话号码,邮箱等;\n2. 悬赏金额可以不填;\n3. 相关照片可以不传,如果需要上传,请上传2MB以内的图片。个人服务器,不堪重负,望谅解。"
             android:layout_marginLeft="@dimen/margin_default"
-            android:layout_marginTop="@dimen/margin_s"/>
+            android:layout_marginTop="@dimen/margin_s"
+            android:layout_marginBottom="@dimen/margin_default"/>
     </LinearLayout>
 </ScrollView>

BIN
commonkey


+ 3 - 6
local.properties

@@ -1,12 +1,9 @@
-## This file is automatically generated by Android Studio.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must *NOT* be checked into Version Control Systems,
+## This file must *NOT* be checked into Version Control Systems,
 # as it contains information specific to your local configuration.
 #
 # Location of the SDK. This is only used by Gradle.
 # For customization when using a Version Control System, please read the
 # header note.
-#Mon Oct 01 09:11:00 CST 2018
+#Sat Jun 20 03:17:12 CST 2020
 ndk.dir=D\:\\software\\work\\newassdk\\ndk-bundle
-sdk.dir=D\:\\software\\work\\newassdk
+sdk.dir=E\:\\software\\Android\\newsdk