
Android错误汇总
一言呀
软件测试、音视频编解码
展开
-
transfer error: Invalid argument
[2016-10-30 12:17:40 - ddms] transfer error: Invalid argument[2016-10-30 12:17:40] Failed to push selection: Invalid argument向SD卡导入文件报错,因为文件名是中文原创 2016-10-30 15:12:27 · 921 阅读 · 0 评论 -
新建android项目时总是出错“The import android.support.v7 cannot be resolved”
新建android项目时总是出错“The import android.support.v7 cannot be resolved”如果在ADT设置时,设置了eclipse自动更新ADT的话,在新建Android项目的时候,eclipse会更新新的ADT,如果你创建的Android项目最低版本低于4.0的时候,会新建一个v7的项目,你需要导入v7的jar包。同时有一个比较简单的方法,可原创 2016-07-16 11:44:51 · 475 阅读 · 0 评论 -
Adapter中的跳转 & Caused by:Android.util.AndroidRuntimeException
我们都知道两个Activity中的跳转是这样的:Intent intent = new Intent(Activity1.this,Activity2.class); context.startActivity(intent);但是在Adapter中由于没有继承Activity,这样写就不对了,我的解决方法是在adapter里申明一个private C原创 2016-05-01 21:15:07 · 411 阅读 · 0 评论 -
错误:Please ensure that adb is correctly located at 'D:\Android\new\android-sdk-windows\android-sdk-wi
[2016-04-30 21:27:26 - 1.0.2] The connection to adb is down, and a severe error has occured.[2016-04-30 21:27:26 - 1.0.2] You must restart adb and Eclipse.[2016-04-30 21:27:26 - 1.0.2] Please en原创 2016-04-30 21:54:33 · 2284 阅读 · 0 评论 -
Android开发:新建android虚拟机时没有Use Host GPU选项(Emulator without GPU emulation detected.)
在运行程序时,出现了Emulator without GPU emulation detected.错误。去网上搜索,说是GPU选项没有打开。我的Android Virtual Device Manager找了半天没有找到,后来把编辑窗口放大了一下,在编辑窗口的下面才发现的use host gpu的选项框。拉大之后就出来了,挺狗血的。原创 2016-04-20 17:09:29 · 6407 阅读 · 0 评论 -
Adb connection Error:远程主机强迫关闭了一个现有的连接。
andriod 启动虚拟机的时候报错如下:Adb connection Error:远程主机强迫关闭了一个现有的连接。Connection attempts: 1Connection attempts: 2Connection attempts: 3Connection attempts: 4Connection attempts: 5Connection atte原创 2016-09-29 09:17:48 · 432 阅读 · 0 评论 -
Multiple dex files define Lorg/kobjects/base64/Base64;
因项目中有两个ksoap2包,根据自己的需要删掉一个就好啦原创 2017-04-20 10:30:25 · 1088 阅读 · 0 评论 -
Not supplying enough data to HAL, expected position 3850844 , only wrote 3850560
必须在主线程更新UI原创 2018-04-13 21:11:38 · 10352 阅读 · 2 评论