New Printing don't work....


Jun 16, 2014
1
1
13
#4
no logcat = no bug
I have the same problem on my MI3 since I installed 4.5.9 version.

To reproduce, install Google Cloud Print, then go in Settings -> Printing

Here is the logcat:

Code:
05-31 14:45:23.104: E/AndroidRuntime(12276): FATAL EXCEPTION: main
05-31 14:45:23.104: E/AndroidRuntime(12276): Process: com.android.settings, PID: 12276
05-31 14:45:23.104: E/AndroidRuntime(12276): 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.print.PrintSettingsFragment: make sure class name exists, is public, and has an empty constructor that is public
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2198)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2248)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.ActivityThread.access$800(ActivityThread.java:138)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.os.Handler.dispatchMessage(Handler.java:102)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.os.Looper.loop(Looper.java:136)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.ActivityThread.main(ActivityThread.java:5050)
05-31 14:45:23.104: E/AndroidRuntime(12276): at java.lang.reflect.Method.invokeNative(Native Method)
05-31 14:45:23.104: E/AndroidRuntime(12276): at java.lang.reflect.Method.invoke(Method.java:515)
05-31 14:45:23.104: E/AndroidRuntime(12276): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
05-31 14:45:23.104: E/AndroidRuntime(12276): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:615)
05-31 14:45:23.104: E/AndroidRuntime(12276): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
05-31 14:45:23.104: E/AndroidRuntime(12276): at dalvik.system.NativeStart.main(Native Method)
05-31 14:45:23.104: E/AndroidRuntime(12276): Caused by: android.app.Fragment$InstantiationException: Unable to instantiate fragment com.android.settings.print.PrintSettingsFragment: make sure class name exists, is public, and has an empty constructor that is public
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.Fragment.instantiate(Fragment.java:597)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.preference.PreferenceActivity.switchToHeaderInner(PreferenceActivity.java:1186)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.preference.PreferenceActivity.switchToHeader(PreferenceActivity.java:1202)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.preference.PreferenceActivity.onCreate(PreferenceActivity.java:547)
05-31 14:45:23.104: E/AndroidRuntime(12276): at com.android.settings.Settings.onCreate(Settings.java:220)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.Activity.performCreate(Activity.java:5239)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
05-31 14:45:23.104: E/AndroidRuntime(12276): at com.lbe.security.service.core.client.internal.InstrumentationDelegate.callActivityOnCreate(InstrumentationDelegate.java:76)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2162)
05-31 14:45:23.104: E/AndroidRuntime(12276): ... 12 more
05-31 14:45:23.104: E/AndroidRuntime(12276): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.settings.print.PrintSettingsFragment" on path: DexPathList[[zip file "/system/priv-app/Settings.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
05-31 14:45:23.104: E/AndroidRuntime(12276): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
05-31 14:45:23.104: E/AndroidRuntime(12276): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
05-31 14:45:23.104: E/AndroidRuntime(12276): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
05-31 14:45:23.104: E/AndroidRuntime(12276): at android.app.Fragment.instantiate(Fragment.java:583)
05-31 14:45:23.104: E/AndroidRuntime(12276): ... 20 more
 
Likes: Tjoost
Nov 9, 2014
1
0
21
#9
My MI3 also have the same problem. I installed Rom Multi 4.10.17 and also installed HP Print Service Plugin. Since I try to enable the printing by goto Settings>Printing>HP Print Service Plugin then "Unfortunately, Settings has stopped". Cloud Print is the same result.