原文地址:http://jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/1125/2057.html 这里主要讨论三种方式:AsyncTask.Service和使用DownloadManager. 一.使用AsyncTask并在进度对话框中显示下载进度 这种方式的优势是你可以在后台执行下载任务的同时,也可以更新UI(这里我们用progress bar来更新下载进度) 下面的代码是使用的例子 // declare the dialog as a me…
经上网查证,发现原因在于CPU/ABI选项无法选择,并显示“No system images installed for this target”,也就是没有适合的系统镜像,通过与安装好了的ADT-bundle中的AVD Manager创建模拟器的窗口情况对比,发现该下拉列表选项正好是SDK Manager安装包Android4.2.2(API 17)的一个组件“ARM EABI v7a System Image”没有安装, 如图所示.安装好了之后,问题解决.另:如果安装了"Inter x86…