Android中proguard的作用
2012-08-08 12:12:05 来源:WEB开发网这两天在手机设置里面需要添加一个设置项,可是在所有代码都添加好之后,点击该设置项时,一直报错,log为:
08-08 10:51:50.622 E/AndroidRuntime( 3169): FATAL EXCEPTION: main
08-08 10:51:50.622 E/AndroidRuntime( 3169): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: android.app.Fragment$InstantiationException: Unable to instantiate fragment com.android.settings.AppPreferInstallLocation: make sure class name exists, is public, and has an empty constructor that is public
08-08 10:51:50.622 E/AndroidRuntime( 3169): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at android.app.ActivityThread.access$600(ActivityThread.java:123)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at android.os.Handler.dispatchMessage(Handler.java:99)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at android.os.Looper.loop(Looper.java:137)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at android.app.ActivityThread.main(ActivityThread.java:4424)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at java.lang.reflect.Method.invokeNative(Native Method)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at java.lang.reflect.Method.invoke(Method.java:511)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
08-08 10:51:50.622 E/AndroidRuntime( 3169): at dalvik.system.NativeStart.main(Native Method)
- ››Android 当修改一些代码时,使用什么编译命令可以最...
- ››Android 如何添加一个apk使模拟器和真机都编译进去...
- ››Android 修改Camera拍照的默认保存路径
- ››Android 如何修改默认输入法
- ››android开发中finish()和System.exit(0)的区别
- ››Android手势识别简单封装类
- ››android中查看项目数字证书的两种方法
- ››Android中获取IMEI码的办法
- ››android 相机报错 setParameters failed
- ››Android重启运用程序的代码
- ››Android为ListView的Item设置不同的布局
- ››android bitmap与base64字符串的互相转换
赞助商链接