Sunday 17 July 2016

Porting SystemUI



I am trying to port S6 Edge SystemUI to Note 4, after doing some modifications in framework-res.apk the SystemUI now boots, but after few seconds it FCs and becomes unusable.
I have taken logcat of it but not able to get anything fruitful out of it after trying many days, the fatal logcat is as follows,

07-17 17:24:49.682: E/AndroidRuntime(9998): FATAL EXCEPTION: main
07-17 17:24:49.682: E/AndroidRuntime(9998): Process: com.android.systemui, PID: 9998
07-17 17:24:49.682: E/AndroidRuntime(9998): android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class MenuItemView
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.view.LayoutInflater.inflate(LayoutInflater .java:551)
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.view.LayoutInflater.inflate(LayoutInflater .java:429)
07-17 17:24:49.682: E/AndroidRuntime(9998): at com.android.systemui.statusbar.BaseStatusBar.infla teViews(BaseStatusBar.java:2435)
07-17 17:24:49.682: E/AndroidRuntime(9998): at com.android.systemui.statusbar.BaseStatusBar.creat eNotificationViews(BaseStatusBar.java:3197)
07-17 17:24:49.682: E/AndroidRuntime(9998): at com.android.systemui.statusbar.phone.PhoneStatusBa r.addNotification(PhoneStatusBar.java:1884)
07-17 17:24:49.682: E/AndroidRuntime(9998): at com.android.systemui.statusbar.BaseStatusBar.r un(BaseStatusBar.java:1188)
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.os.Handler.handleCallback(Handler.java:739 )
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.os.Handler.dispatchMessage(Handler.java:95 )
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.os.Looper.loop(Looper.java:158)
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.app.ActivityThread.main(ActivityThread.jav a:7225)
07-17 17:24:49.682: E/AndroidRuntime(9998): at java.lang.reflect.Method.invoke(Native Method)
07-17 17:24:49.682: E/AndroidRuntime(9998): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:1230)
07-17 17:24:49.682: E/AndroidRuntime(9998): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:1120)
07-17 17:24:49.682: E/AndroidRuntime(9998): Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class MenuItemView
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.view.LayoutInflater.createViewFromTag(Layo utInflater.java:788)
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.view.LayoutInflater.createViewFromTag(Layo utInflater.java:716)
07-17 17:24:49.682: E/AndroidRuntime(9998): at android.view.LayoutInflater.inflate(LayoutInflater .java:498)
07-17 17:24:49.682: E/AndroidRuntime(9998): ... 12 more
07-17 17:24:49.682: E/AndroidRuntime(9998): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.MenuItemView" on path: DexPathList[[zip file "/system/framework/com.broadcom.bt.jar", zip file "/system/framework/secvisualeffect.jar", zip file "/system/priv-app/SystemUI/SystemUI.apk"],nativeLibraryDirectories=[/system/priv-app/SystemUI/lib/arm, /vendor/lib, /system/lib]]


I can upload full logcat also, please help in this regard, I have tried many ways but unsuccessful and now I am stuck at this


Thanks in advance



No comments:

Post a Comment