FinalHttp http = new FinalHttp(); // 只要有这句就会闪退
if (!isExternalStorageAvaliable()) {
return;
}
String apkPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/single.apk";
File f = new File(apkPath);
if(f.exists()){
f.delete();
}
http.download(url, apkPath, callBack);
}
只有本站会员才能查看附件,请 登录