• 大小: 26.39M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-22
  • 语言: Java
  • 标签: Android  升级  

资源简介

服务器端只需放一个 json文件和一个apk文件即可在线升级app版本,本实例 服务器端的json文件如下 

  {   
        "appName": "精准扶贫", 
        "versionCode": "2", 
        "versionName": "1.0", 
        "apkUrl": "http://www.ailaoxiang.com/fupin.apk", 
        "changeLog":"1.修复xxx Bug;\n2.更新UI界面.", 
        "updateTips": "更新提示" ,
        "forceUpgrade": false    //当有新版本时,APP 将会自动下载安装包
    }

资源截图

代码片段和文件信息

/**
 * Automatically generated file. DO NOT MODIFY
 */
package com.bullsofts.friends.fupin.test;

public final class BuildConfig {
  public static final boolean DEBUG = Boolean.parseBoolean(“true“);
  public static final String APPLICATION_ID = “com.bullsofts.friends.fupin.test“;
  public static final String BUILD_TYPE = “debug“;
  public static final String FLAVOR = ““;
  public static final int VERSION_CODE = 1;
  public static final String VERSION_NAME = “1.0“;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         127  2017-07-17 00:47  .gitignore
     目录           0  2017-07-17 00:47  .gradle\
     目录           0  2017-07-17 00:48  .gradle\3.3\
     目录           0  2017-07-17 00:47  .gradle\3.3\taskArtifacts\
     文件      328228  2017-07-23 01:03  .gradle\3.3\taskArtifacts\fileHashes.bin
     文件     5179903  2017-07-23 01:03  .gradle\3.3\taskArtifacts\fileSnapshots.bin
     文件      171956  2017-07-23 01:03  .gradle\3.3\taskArtifacts\taskArtifacts.bin
     文件          17  2017-07-23 01:03  .gradle\3.3\taskArtifacts\taskArtifacts.lock
     目录           0  2017-07-23 00:23  .gradle\3.3\tasks\
     目录           0  2017-07-17 00:48  .gradle\3.3\tasks\_app_compileDebugJavaWithJavac\
     目录           0  2017-07-17 00:48  .gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\
     文件      107730  2017-07-23 01:00  .gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-07-23 01:00  .gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2017-07-17 00:48  .gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\
     文件       22598  2017-07-23 01:00  .gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-07-23 01:00  .gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2017-07-23 00:23  .gradle\3.3\tasks\_UpdateHelper_compileReleaseJavaWithJavac\
     目录           0  2017-07-23 00:23  .gradle\3.3\tasks\_UpdateHelper_compileReleaseJavaWithJavac\localClassSetAnalysis\
     文件       26878  2017-07-23 00:23  .gradle\3.3\tasks\_UpdateHelper_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-07-23 00:23  .gradle\3.3\tasks\_UpdateHelper_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2017-07-23 00:23  .gradle\3.3\tasks\_UpdateHelper_compileReleaseJavaWithJavac\localJarClasspathSnapshot\
     文件       19810  2017-07-23 00:23  .gradle\3.3\tasks\_UpdateHelper_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-07-23 00:23  .gradle\3.3\tasks\_UpdateHelper_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2017-07-23 01:07  .idea\
     文件         686  2017-07-17 00:47  .idea\compiler.xml
     目录           0  2017-07-17 00:47  .idea\copyright\
     文件          76  2017-07-17 00:47  .idea\copyright\profiles_settings.xml
     文件         692  2017-07-23 00:20  .idea\gradle.xml
     目录           0  2017-07-17 00:48  .idea\libraries\
     文件         607  2017-07-17 00:48  .idea\libraries\animated_vector_drawable_25_3_1.xml
     文件         571  2017-07-17 00:48  .idea\libraries\appcompat_v7_25_3_1.xml
............此处省略4703个文件信息

评论

共有 条评论