Closed Andjdd closed 1 year ago
为什么http 下载连接不行 点击下载没用反应
manager.setApkName("text.apk") .setApkUrl(url) .setSmallIcon(R.mipmap.ic_launcher) .setShowNewerToast(true) .setConfiguration(configuration) // .setDownloadPath(Environment.getExternalStorageDirectory() + "/AppUpdate") .setApkVersionCode(Integer.parseInt(versioncode)) .setApkVersionName(apkVersionName) .setApkSize(apkSize) .setAuthorities(getPackageName()) .setApkDescription(descriptionReplace) .download();
一看用的就是旧版本,用新版本
为什么http 下载连接不行 点击下载没用反应
manager.setApkName("text.apk") .setApkUrl(url) .setSmallIcon(R.mipmap.ic_launcher) .setShowNewerToast(true) .setConfiguration(configuration) // .setDownloadPath(Environment.getExternalStorageDirectory() + "/AppUpdate") .setApkVersionCode(Integer.parseInt(versioncode)) .setApkVersionName(apkVersionName) .setApkSize(apkSize) .setAuthorities(getPackageName()) .setApkDescription(descriptionReplace) .download();