New Printing don't work....

Discussion in 'Bugs' started by Tjoost, Jun 28, 2014.

  1. Tjoost

    TjoostMembers

    Mar 8, 2014
    27
    7
    23
    Male
    Næstved
    Printersettings forcecloses :)

    Sendt fra min MI 3W med Tapatalk
     
  2. ingbrzy

    ingbrzyXiaomi.eu Multilang leader
    Staff Member

    no logcat = no bug
     
  3. cpasmoi

    cpasmoiStaff

    Sep 22, 2013
    355
    132
    67
    Male
    France
    probably because of this :
    no sure, do it work if you do a clean install ?
     
  4. Gandalf Magic

    Jun 16, 2014
    1
    1
    13
    Male
    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
    
     
    Tjoost likes this.
  5. Tjoost

    TjoostMembers

    Mar 8, 2014
    27
    7
    23
    Male
    Næstved
    No either way, it doesn't work...

    Sendt fra min MI 3W med Tapatalk
     
  6. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    There's no point of trying. MIUI doesn't have cloud print support.
     
  7. Tjoost

    TjoostMembers

    Mar 8, 2014
    27
    7
    23
    Male
    Næstved
    It's built in 4.4.2

    Sendt fra min MI 3W med Tapatalk
     
  8. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    Aosp yes. But not in MIUI.
     
  9. rara5741

    rara5741Members

    Nov 9, 2014
    1
    0
    21
    Male
    Bangkok, Thailand
    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.
     
  10. Gaubry31

    Gaubry31Members

    Feb 4, 2015
    120
    25
    40
    Lyon
    Same issue with mi Mi4 in 5.6.2

    With Google Cloud Print, Epson or Hp driver app.
     

Share Our Site