
错误分析
Rain_Gu
好记性不如烂笔记
展开
-
failed Read-only file system 问题!解决方案
当adb push *.apk /system/app的时候出现Read-only file system的时候adb shell mount -o remount / /android adb shell命令使用 当运行一个命令的时候出现rm failed for CoeeRoat.apk, Read-only file system adb shell m原创 2016-08-31 17:29:42 · 15447 阅读 · 0 评论 -
(错误处理)Android 5.0 Service Intent must be explicit
Android 5.0程序运行报Service Intent must be explicit错误,原因是5.0的service必须显式调用改成 Intent intent = new Intent(mContext, IService.class);或者 Intent intent = new Intent("com.xx.xx.Service").setPackage("xx.xx.x原创 2016-08-11 14:07:38 · 327 阅读 · 0 评论 -
关于:INSTALL_FAILED_DUPLICATE_PERMISSION perm=android.permission.BAIDU_LOCATION_SERVICE pkg=com.exampl
如果是调用我们的定位SDK进行开发,在5.0系统中可以去掉这个权限。我们最新的官网示例中已经去掉了。http://developer.baidu.com/map/i ... d-locsdk/guide/v5-0这个帖子将的很详细:http://c.tieba.baidu.com/p/3237226241自从google开放了Android L的下载后,很多人为原创 2016-06-09 01:45:33 · 13877 阅读 · 0 评论 -
解决安卓保存图片到SD卡后,相册不显示问题。
/** * 让Gallery上能马上看到该图片 */ private static void scanPhoto(Context ctx, String imgFileName) { Intent mediaScanIntent = new Intent( Intent.ACTION_MEDIA_SCANNER_SCAN_原创 2016-04-22 17:26:18 · 5875 阅读 · 0 评论 -
Unable to add window -- token null is not for an application(创建Dialog出错)
在创建一个Dialog时,发生的错误:Unable to add window -- token null is not for an application[java] view plain copyAlertDialog.Builder builder; AlertDialog alertDialog; Context mCo原创 2016-04-20 17:09:25 · 396 阅读 · 0 评论 -
INSTALL_FAILED_UPDATE_INCOMPATIBLE解决
[2015-05-30 16:45:35 - Bobo_RacingCar] Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE[2015-05-30 16:46:35 - Bobo_RacingCar] Please check logcat output for more details.[2015-05-30 16:46:35原创 2016-04-14 17:45:32 · 677 阅读 · 0 评论 -
关于android ANR 问题的分析
ANR (Application Not Responding) ANR定义:在Android上,如果你的应用程序有一段时间响应不够灵敏,系统会向用户显示一个对话框,这个对话框称作应用程序无响应(ANR:Application Not Responding)对话框。 默认情况下,在android中Activity的最长执行时间是5秒,BroadcastReceiver的最长...原创 2018-10-29 11:53:34 · 905 阅读 · 0 评论