- 浏览: 196312 次
最新评论
-
TedYin:
如果不修改AndroidManifest.xml文件,能不能解 ...
无法找到明确的Activity ActivityNotFoundException: Unable to find explicit activity -
弋小弋:
升级到r20 不会用了哇
慎重升级Android SDK Tools 至 r20 -
wzuying:
不懂吖,怎么分批啊,最多读到2600就错了,要是几万条不是读很 ...
SQLite一次性读取过多记录会造成内存溢出OutOfMemoryError -
fantouch:
原来这样
引用自定义资源需注意数据类型 -
lsm8146103:
能行不、、全是一个答案,根本解决不了的、
解决弹出错误“无法播放视频。很抱歉,无法播放此视频”
文章列表
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
主要错误:
04-06 11:24:33.126: ERROR/AndroidRuntime(17173): Caused by: java.lang.InstantiationException: com.tmall.nokia.Iphone
04-06 11:24:33.126: ERROR/AndroidRuntime(17173): at java.lang.Class.newInstanceImpl(Native Method)
04-06 11: ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
LogCat 报错信息:
03-15 11:34:43.163: ERROR/AndroidRuntime(17173): java.lang.OutOfMemoryError
03-15 11:34:43.163: ERROR/AndroidRuntime(17173): at android.database.CursorWindow.getString_native(Native Method) 、03-15 11:34:43.163: ERROR/Andr ...
Android SDK Tools r20发布, 同时发布的还有 ADT Pulgin 20。
但升级到Android SDK Tools r20可能出现众多疑难杂症。
问题一:升级到Android SDK Tools r20,虚拟机出错
运行4.0.3或4.1的虚拟机报错
Starting emulator for AVD 'iphone4s'
Failed to create Context 0x3005
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
LogCat 报错信息:
03-13 10:25:37.163: ERROR/AndroidRuntime(4166): java.lang.IllegalArgumentException: the bind value at index 2 is null
03-13 10:25:37.163: ERROR/AndroidRuntime(4166): at android.database.sqlite.SQLiteProgram.bindString(SQLiteProg ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
LogCat 报错信息:
03-06 11:32:11.126: ERROR/AndroidRuntime(17173): Caused by: java.lang.IllegalStateException: ScrollView can host only one direct child
03-06 11:32:11.126: ERROR/AndroidRuntime(17173): at android.widget.ScrollView.addView(ScrollView.jav ...
Android 2.3.3
Eclipse Version: 3.7.0
Console
LogCat 报错信息:
02-23 11:20:41.360: ERROR/AndroidRuntime(4366): android.database.sqlite.SQLiteException: no such column: iphone: , while compiling: SELECT * FROM Mobile WHERE iphone=? and status=1
02-23 11:20:41.360: ERROR/AndroidRuntime(4366): ...
Android 2.3.3
Eclipse Version: 3.7.0
Console
Eclipse下的Android虚拟机,运行应用,正常的控制台信息Console一般如下:
[2012-02-17 15:01:28 - tmall] ------------------------------
[2012-02-17 15:01:28 - tmall] Android Launch!
[2012-02-17 15:01:28 - tmall] adb is running normally.
[2012-02-17 15:01:28 - tmall] Perfo ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
Console 报错信息:
[2012-02-15 13:16:21 - tmall] ------------------------------
[2012-02-15 13:16:21 - tmall] Android Launch!
[2012-02-15 13:16:21 - tmall] adb is running normally.
[2012-02-15 13:16:21 - tmall] Performing com.taobao ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
LogCat 报错信息:
02-14 10:24:27.134: ERROR/(4355): statfs nokia failed, errno: 2
02-14 10:24:27.144: WARN/System.err(4355): java.lang.IllegalArgumentException
02-14 10:24:27.153: WARN/System.err(4355): at android.os.StatFs.native_setup(Native Method)
02- ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
LogCat 报错信息:
02-13 13:29:32.830: WARN/ActivityManager(62): Launch timeout has expired, giving up wake lock!
02-13 13:29:33.381: DEBUG/dalvikvm(17173): GC_CONCURRENT freed 771K, 57% free 2908K/6727K, external 2013K/2137K, paused 7ms+5ms
02-13 13:2 ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
LogCat 报错信息:
02-13 09:21:35.030: WARN/dalvikvm(17173): threadid=19: thread exiting with uncaught exception (group=0x40015560)
02-13 09:21:35.130: ERROR/AndroidRuntime(17173): FATAL EXCEPTION: Thread-26
02-13 09:21:35.130: ERRO ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
BootBroadcastReceiver继承自android.content.BroadcastReceiver,处理广播事件,部分代码如下:
public void onReceive(Context context, Intent intent) {
……
Intent startIPhone = new Intent(context, Iphone.class);
context.startActivity(startIPhone);
……
...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
emulator-5554
虚拟机,采用VideoView 播放视频。
弹出错误提示:无法播放视频。很抱歉,无法播放此视频。
LogCat 报错信息:
02-09 17:57:08.470: INFO/StagefrightPlayer(34): setDataSource('sdcard/video/taobao.avi')
02-09 17:57:08.501: ERROR/MediaPlayer(6606): error (1, -2147483648)
0 ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
LogCat 报错信息:
02-07 23:19:47.171: WARN/dalvikvm(825): threadid=1: thread exiting with uncaught exception (group=0x40015560)
02-07 23:19:47.221: ERROR/AndroidRuntime(825): FATAL EXCEPTION: main
02-07 23:19:47.221: ERROR/AndroidRuntime(825): java.lang.R ...
Android 2.3.3
Eclipse Version: 3.7.0
LogCat
Activity中显示大图,部分源代码如下:
try {
bitmap = BitmapFactory.decodeFile("/" + nokia.getBitmap(), opt);
} catch (Exception e) {
e.printStackTrace();
}
nokiaImage.setImageBitmap(bitmap);
使用过程中LogCat 报错信息 ...