mardi 27 septembre 2016

Porting CM to new device system_server crash

Hi !

I'm trying to port CM10 (old system) to Galaxy Fame Lite (old and cheap phone). I may try to port a later version of CM if I succeed for CM10...

Right now the system boots but remains blocked in the boot animation. I've managed to use adb shell (this has not been easy). What happens right now is that system_server commits suicide with the following message in /data/system/system_server_crash@<time>.txt
Code:

Process: system_server
Build: samsung/cm_nevisnvess/nevisnvess:4.1.2/JZO54K/eng.grenie.20160927.110731:eng/test-keys

android.view.InflateException: Binary XML file line #71: Error inflating class android.widget.ScrollView
        at android.view.LayoutInflater.createView(LayoutInflater.java:613)
        at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
        at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
        at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:275)
        at com.android.internal.app.AlertController.installContent(AlertController.java:240)
        at android.app.AlertDialog.onCreate(AlertDialog.java:336)
        at android.app.Dialog.dispatchOnCreate(Dialog.java:351)
        at android.app.Dialog.show(Dialog.java:256)
        at com.android.server.am.ActivityManagerService$2.handleMessage(ActivityManagerService.java:910)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:137)
        at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1431)
Caused by: java.lang.reflect.InvocationTargetException
        at java.lang.reflect.Constructor.constructNative(Native Method)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
        at android.view.LayoutInflater.createView(LayoutInflater.java:587)
        ... 17 more
Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x10804f4 a=1 r=0x10804f4}
        at android.content.res.Resources.loadDrawable(Resources.java:1921)
        at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
        at android.view.View.initializeScrollbars(View.java:3859)
        at android.view.View.<init>(View.java:3493)
        at android.view.ViewGroup.<init>(ViewGroup.java:427)
        at android.widget.FrameLayout.<init>(FrameLayout.java:101)
        at android.widget.ScrollView.<init>(ScrollView.java:161)
        at android.widget.ScrollView.<init>(ScrollView.java:157)
        ... 20 more

Anybody knows what goes wrong?
Thanks!


from xda-developers http://ift.tt/2cymxyh
via IFTTT

Aucun commentaire:

Enregistrer un commentaire