![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
kimiH
这个作者很懒,什么都没留下…
展开
-
android :already added: Lorg/ksoap2/serialization
最近写一个android的客户端遇到一些问题 ksoap jar包问题 一Could not find class 'org.ksoap2.serialization.SoapObject', referenced from method解决方法1 将第三方jar放入项目下的libs文件夹(如果没有,新建一个).2 然后在eclipse中,右击l原创 2013-01-30 14:38:29 · 441 阅读 · 0 评论 -
px与dip换算
px = (density/160)dpdensity一般为3个常用固定值240/160/120分别对应WVGA/HVGA/QVGA不知道知己做的分辨率对应的density是多少可以点击AVD Manager里新建一个模拟器或者选择已有的模拟器点details就可以看到了(1.6以上包括1.6才可以查)补充:dp跟dip是一样的,但px跟dp(dip)绝对不一样,唯一的情况只有转载 2013-02-15 14:24:16 · 381 阅读 · 0 评论 -
.xml: Invalid file name: must contain only [a-z0-9_.]
出现这种提示可以检查android 中layout的.xml文件名中是否有大写 Android的Layout文件的文件名中是不可以包含大写字母的,例如List.xml中因为L大写就会有这种提示原创 2013-10-07 22:04:00 · 647 阅读 · 0 评论 -
Android小问题
错误提示:The connection to adb is down, and a severe error has occured.You must restart adb and Eclipse.Please ensure that adb is correctly located at“”解决方法clean一下就OK了上面工具栏project》clean》clean a原创 2013-10-09 20:42:09 · 470 阅读 · 0 评论 -
textview中字显示不全用"。。。"代替
android:ellipsize="end" android:singleLine="true"如果是在tablerow中的话 要定义layout_width的宽度 定为200dp比较合适在TextView也要设置android:layout_width="200.0dip"原创 2013-09-25 10:33:52 · 749 阅读 · 0 评论