
安卓异常总结
添柴程序猿
10年编程工作,涉及到.Net,Java,Android,C,Python等,爱好算法,人工智能,大数据等领域, 虚心求教,一起进步,大学毕业参加工作,如今一晃10多年已过,时间飞逝....
展开
-
Android异常总结---Test run failed:Unable to find instrumentation target package
本例为以下DemoDao类进行单元测试----------------新建DemoDao.java--------------package com.neter.test.dao;import android.util.Log;public class DemoDao{public void save(){Log.i("DemoDao", "用来测试原创 2013-03-05 23:30:16 · 5711 阅读 · 1 评论 -
安卓异常总结---WARNING: Application does not specify an API level requirement!
6.WARNING: Application does not specify an API level requirement! [2009-12-27 16:51:33 - Tank] WARNING: Application does not specify an API level requirement![2009-12-27 16:51:33 - Tank] Device AP原创 2013-05-10 23:09:55 · 1614 阅读 · 0 评论 -
安卓异常总结---GestureBuilder] Re-installation failed due to different application signatures
导入项目的时候会出现这个问题8.[2013-05-10 22:54:48 - GestureBuilder] Re-installation failed due to different application signatures.[2013-05-10 22:54:48 - GestureBuilder] You must perform a full uninstall of th原创 2013-05-10 23:05:19 · 1713 阅读 · 0 评论 -
Android异常总结---ActivityManager: Warning: Activity not started,its current task has been brought to th
2.[2013-03-20 22:28:19 - News] ActivityManager: Warning: Activity not started,its current task has been brought to the front-----------------------------------------------------------3.运行程序时提出原创 2013-03-22 20:09:27 · 20616 阅读 · 0 评论 -
Android异常总结---W/System.err(661): java.lang.IllegalStateException: End of document.
Android异常总结---W/System.err(661): java.lang.IllegalStateException: End of document. 5.03-22 21:42:10.091: W/System.err(661): java.lang.IllegalStateException: End of document.---------------原创 2013-03-22 21:58:03 · 7938 阅读 · 0 评论 -
Android异常总结---3.Failed to install *.apk on device 'emulator-5554': timeout 错误提示:
3.Failed to install *.apk on device 'emulator-5554': timeout 错误提示:Failed to install helloworld.apk on device 'emulator-5554': timeout或者the user data image is used原因:由于模拟器已经开启而没有关闭或者非原创 2013-03-30 22:00:00 · 10429 阅读 · 0 评论 -
Android异常总结--- java.net.SocketTimeoutException: Transport endpoint is not connected
1.查询号码归属地中出现的异常: java.net.SocketTimeoutException: Transport endpoint is not connectedat org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native Method)at原创 2013-03-30 22:09:22 · 12789 阅读 · 3 评论 -
Android异常总结---1.Android java.net.SocketException: Address family not supported by protocol
1.Android java.net.SocketException: Address family not supported by protocol 出错提示 这个异常是因为package com.credram.servlet;import java.io.IOException;import javax.servlet.ServletExceptio原创 2013-03-30 22:02:31 · 5013 阅读 · 0 评论 -
Android异常总结---type Status report message HTTP method GET is not supported by this URL
2.type Status report message HTTP method GET is not supported by this URL description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supporte原创 2013-03-30 22:07:16 · 8886 阅读 · 0 评论 -
Android异常总结---1.异常原因: java.lang.IllegalArgumentException: URI: content://com.android.contacts/con
1.异常原因:java.lang.IllegalArgumentException: URI: content://com.android.contacts/contacts1/data, calling user: com.credream.contact, calling package:com.credream.contactat android.databa原创 2013-03-16 15:18:26 · 23111 阅读 · 0 评论 -
Android异常总结---E/AndroidRuntime(23439): Caused by: java.lang.IllegalArgumentException: column '_id' d
1.在使用SimpleCursorAdapter adapter=new SimpleCursorAdapter (this,R.layout.item,cursor,new String[]{"name","phone","amount"},new int[] {R.id.name,R.id.phone,R.id.amount});这个SimpleCursorAdapte原创 2013-03-13 00:43:26 · 19396 阅读 · 1 评论 -
Android异常总结---res\layout\addUser.xml: Invalid file name: must contain only [a-z
1.res\layout\addUser.xml: Invalid file name: must contain only [a-z0-9_.]出现这个的原因是,文件名不可以包含大写字母原创 2013-03-02 11:04:06 · 7025 阅读 · 0 评论 -
Android异常总结---ActivityManager: Warning: Activity not started, its current task has been brought to
4.运行的时候出现的问题: 在运行Android程序时,有时提示如下,表面程序无法运行。 ActivityManager: Warning: Activity not started, its current task has been brought to the front if ($ != jQuery) { $ = jQuery.noConflict(); } va原创 2013-03-02 10:39:48 · 2611 阅读 · 0 评论 -
mac地址随机变化的解决方法(安卓手机通用)不用ROOT
mac地址随机变化的解决方法(安卓手机通用)不用ROOT 首先关闭wifi1.进工程模式 *#*#3646633#*#*2.点击 connectivity3.点击 wifi4.点击 nvram5.Byte string access:addr 填入4;length 填入6;点击read。(发现在value一栏中出转载 2016-01-23 00:12:32 · 61389 阅读 · 4 评论