安卓开发2

1.error opening trace file: No such file or directory (2) 需要加权限ACCESS_NETWORK_STATE

http://stackoverflow.com/questions/16132807/android-error-opening-trace-file-no-such-file-or-directory2

2.android.widget.EditText cannot be cast to android.view.ViewGroup 组件没写结束符

http://stackoverflow.com/questions/20583553/android-widget-edittext-cannot-be-cast-to-android-view-viewgroup?answertab=active#tab-top

3.PANIC: Could not find *.ini file in $ANDROID_AVD_HOME nor in $HOME/.android/avd​

重启电脑好了

4.android:visibility值 

View.GONE是指该控件的不可见,也不占用系统布局中的空间

http://www.cnblogs.com/kevinGao/archive/2012/03/07/2426889.html

5.You cannot combine custom titles with other title features

标题设置了两遍,tab中设置过,页面不再次设置

6.Should have subtitle controller already set

同一个控件的属性定义了两次

7.Attempt to invoke virtual method 'boolean com.wh.facecollect.FaceCertActivity$MyHandler.sendEmptyMessage(int)' on a null object reference

Handler是类,使用其对象未进行实例化new,故空指针

8.adb server version (31) doesn't match this client (36); killing... 360手机助手占用此端口,将进程中的360Mobile开头的删掉。http://blog.csdn.net/rodulf/article/details/51939974

 8.启动模拟器报错,The connection to adb is down, and a severe error has occured.关闭所有的adb进程,重启eclipse即可。

9.Android中MediaRecorder.stop()报错 java.lang.RuntimeException: stop failed. 是因为抛出异常,捕获即可

10.Didn't find class "ImageSize" on path: DexPathList[[zip file "/data/app/com.wh.imageloader-1/base.apk"]

有些android,需要一些第三方的包,直接将其引入,在以前是可以的,但是在最新的adt中不行,必须在程序中新建一个libs文件夹,将第三方的jar文件copy到libs文件夹中才行。在Java Build Path面板下的Order and Export中,要把你引入的jar文件勾上

原文:http://gundumw100.iteye.com/blog/2096013

11. ImageLoader must be init with configuration before using,使用前要先初始化

imageLoader.init(ImageLoaderConfiguration.createDefault(this));

posted on 2016-08-18 14:21  泽口靖子  阅读(141)  评论(0编辑  收藏  举报

导航