I'm trying to port the Contacts APK from the galaxy S5 to the Galaxy S4.
I got a FC when I tried to launch the application. I would like to get some help fixing this issue.
E/AndroidRuntime( 3085): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.PeopleActivity}: android.view.InflateException: Binary XML file line #71: Error inflating class <unknown>
E/AndroidRuntime( 3085): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2305)
E/AndroidRuntime( 3085): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363)
E/AndroidRuntime( 3085): at android.app.ActivityThread.access$900(ActivityThread.java:161)
E/AndroidRuntime( 3085): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
E/AndroidRuntime( 3085): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3085): at android.os.Looper.loop(Looper.java:157)
E/AndroidRuntime( 3085): at android.app.ActivityThread.main(ActivityThread.java:5356)
E/AndroidRuntime( 3085): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3085): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3085): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
E/AndroidRuntime( 3085): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
E/AndroidRuntime( 3085): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 3085): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3085): Caused by: android.view.InflateException: Binary XML file line #71: Error inflating class <unknown>
E/AndroidRuntime( 3085): at android.view.LayoutInflater.createView(LayoutInflater.java:626)
E/AndroidRuntime( 3085): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 3085): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
E/AndroidRuntime( 3085): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
E/AndroidRuntime( 3085): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
E/AndroidRuntime( 3085): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
E/AndroidRuntime( 3085): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 3085): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:627)
E/AndroidRuntime( 3085): at android.view.LayoutInflater.inflate(Native Method)
E/AndroidRuntime( 3085): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
E/AndroidRuntime( 3085): at com.android.dialer.dialpad.DialpadFragment.onCreateView(DialpadFragment.java:672)
E/AndroidRuntime( 3085): at android.app.Fragment.performCreateView(Fragment.java:1700)
E/AndroidRuntime( 3085): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
E/AndroidRuntime( 3085): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
E/AndroidRuntime( 3085): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1044)
E/AndroidRuntime( 3085): at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1853)
E/AndroidRuntime( 3085): at android.app.Activity.performCreate(Activity.java:5429)
E/AndroidRuntime( 3085): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 3085): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2269)
E/AndroidRuntime( 3085): ... 12 more
E/AndroidRuntime( 3085): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 3085): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 3085): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
E/AndroidRuntime( 3085): at android.view.LayoutInflater.createView(LayoutInflater.java:600)
E/AndroidRuntime( 3085): ... 30 more
E/AndroidRuntime( 3085): Caused by: android.content.res.Resources$NotFoundException: File res/drawable/dialpad_background.xml from drawable resource ID #0x7f0200e2
E/AndroidRuntime( 3085): at android.content.res.Resources.loadDrawable(Resources.java:3010)
E/AndroidRuntime( 3085): at android.content.res.TypedArray.getDrawable(TypedArray.java:602)
E/AndroidRuntime( 3085): at android.content.res.XResources$XTypedArray.getDrawable(XResources.java:797)
E/AndroidRuntime( 3085): at android.view.View.<init>(View.java:3694)
E/AndroidRuntime( 3085): at android.view.View.<init>(View.java:3624)
E/AndroidRuntime( 3085): ... 33 more
E/AndroidRuntime( 3085): Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #17: <bitmap> requires a valid src attribute
E/AndroidRuntime( 3085): at android.graphics.drawable.BitmapDrawable.inflate(BitmapDrawable.java:577)
E/AndroidRuntime( 3085): at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:973)
E/AndroidRuntime( 3085): at android.graphics.drawable.Drawable.createFromXml(Drawable.java:913)
E/AndroidRuntime( 3085): at android.content.res.Resources.loadDrawable(Resources.java:3006)
E/AndroidRuntime( 3085): ... 37 more
W/ActivityManager( 1126): Force finishing activity com.android.contacts/.activities.PeopleActivity
Here is the zip containing the files from the app from apktool.
SecContacts
Related
I am writing a flutter plugin which will start an Activity from the plugin and this Activity has to be AppCompactActivity
I have this dependency in both the app and the plugin dependencies
implementation 'androidx.appcompat:appcompat:1.3.0'
but I am getting this error once startActivity called and the app crashes
E/AndroidRuntime( 1212): java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/appcompat/app/AppCompatActivity;
E/AndroidRuntime( 1212): at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:17)
E/AndroidRuntime( 1212): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1212): at io.flutter.embedding.engine.plugins.util.GeneratedPluginRegister.registerGeneratedPlugins(GeneratedPluginRegister.java:34)
E/AndroidRuntime( 1212): at io.flutter.embedding.android.FlutterActivity.configureFlutterEngine(FlutterActivity.java:928)
E/AndroidRuntime( 1212): at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:180)
E/AndroidRuntime( 1212): at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:409)
E/AndroidRuntime( 1212): at android.app.Activity.performCreate(Activity.java:8198)
E/AndroidRuntime( 1212): at android.app.Activity.performCreate(Activity.java:8182)
E/AndroidRuntime( 1212): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
E/AndroidRuntime( 1212): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3765)
E/AndroidRuntime( 1212): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3968)
E/AndroidRuntime( 1212): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
E/AndroidRuntime( 1212): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime( 1212): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime( 1212): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
E/AndroidRuntime( 1212): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime( 1212): at android.os.Looper.loop(Looper.java:246)
E/AndroidRuntime( 1212): at android.app.ActivityThread.main(ActivityThread.java:8512)
E/AndroidRuntime( 1212): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1212): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
E/AndroidRuntime( 1212): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
E/AndroidRuntime( 1212): Caused by: java.lang.ClassNotFoundException: androidx.appcompat.app.AppCompatActivity
E/AndroidRuntime( 1212): at java.lang.VMClassLoader.findLoadedClass(Native Method)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime( 1212): ... 21 more
E/AndroidRuntime( 1212): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/fragment/app/FragmentActivity;
E/AndroidRuntime( 1212): ... 21 more
E/AndroidRuntime( 1212): Caused by: java.lang.ClassNotFoundException: androidx.fragment.app.FragmentActivity
E/AndroidRuntime( 1212): at java.lang.VMClassLoader.findLoadedClass(Native Method)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime( 1212): ... 21 more
E/AndroidRuntime( 1212): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/activity/ComponentActivity;
E/AndroidRuntime( 1212): ... 21 more
E/AndroidRuntime( 1212): Caused by: java.lang.ClassNotFoundException: androidx.activity.ComponentActivity
E/AndroidRuntime( 1212): at java.lang.VMClassLoader.findLoadedClass(Native Method)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime( 1212): ... 21 more
E/AndroidRuntime( 1212): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/HasDefaultViewModelProviderFactory;
E/AndroidRuntime( 1212): ... 21 more
E/AndroidRuntime( 1212): Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.lifecycle.HasDefaultViewModelProviderFactory" on path: DexPathList[[zip file "/data/app/~~Pt2eWtOSiNwV3ewUp8Bkfw==/Pa4pjhLz_vC1nMrdJxNEEg==/base.apk"],nativeLibraryDirectories=[/data/app/~~Pt2eWtOSiNwV3ewUp8Bkfw==/Pa4pjhLz_vC1nMrdJxNEEg==/lib/arm64, /data/app/~~Pt2eWtOSiNwV3ewUp8Bkfw==/Pa4pjhLz_vC1nMrdJxNEEg==/base.apk!/lib/arm64-v8a, /system/lib64]]
E/AndroidRuntime( 1212): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime( 1212): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime( 1212): ... 21 more
I/Process ( 1212): Sending signal. PID: 1212 SIG: 9
Lost connection to device.
Exited (sigterm)
I have layout
R.layout.alarm_clock_setting_view
And i want to Inject him into LayoutInflater.
Now i do next :
#InjectView(R.layout.alarm_clock_setting_view)
private RelativeLayout alarmClockSettingView;
...
//in OnCreate
mSettingAlarmClockView = alarmClockSettingView;
...
But that's not worked. What i need to do to inject layout into LayoutInflater?
Error :
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.samsung.clock/com.samsung.clock.views.ClockFragmentActivity}: java.lang.IllegalStateException: Unable to use annotation database(s)
E/AndroidRuntime( 3754): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2658)
E/AndroidRuntime( 3754): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2725)
E/AndroidRuntime( 3754): at android.app.ActivityThread.access$900(ActivityThread.java:172)
E/AndroidRuntime( 3754): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)
E/AndroidRuntime( 3754): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3754): at android.os.Looper.loop(Looper.java:145)
E/AndroidRuntime( 3754): at android.app.ActivityThread.main(ActivityThread.java:5834)
E/AndroidRuntime( 3754): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 3754): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 3754): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
E/AndroidRuntime( 3754): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
E/AndroidRuntime( 3754): Caused by: java.lang.IllegalStateException: Unable to use annotation database(s)
E/AndroidRuntime( 3754): at roboguice.RoboGuice.initializeAnnotationDatabaseFinderAndHierarchyTraversalFilterFactory(RoboGuice.java:292)
E/AndroidRuntime( 3754): at roboguice.RoboGuice.getOrCreateBaseApplicationInjector(RoboGuice.java:149)
E/AndroidRuntime( 3754): at roboguice.RoboGuice.getOrCreateBaseApplicationInjector(RoboGuice.java:90)
E/AndroidRuntime( 3754): at roboguice.RoboGuice.getInjector(RoboGuice.java:197)
E/AndroidRuntime( 3754): at roboguice.activity.RoboFragmentActivity.onCreate(RoboFragmentActivity.java:60)
E/AndroidRuntime( 3754): at MainActivity.onCreate(MainActivity.java:95)
E/AndroidRuntime( 3754): at android.app.Activity.performCreate(Activity.java:6221)
E/AndroidRuntime( 3754): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
E/AndroidRuntime( 3754): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2611)
E/AndroidRuntime( 3754): ... 10 more
I have used 1920x1080 resolution image for all layout background.I got OutOfMemory Exception.Then I used different images for different resolutions in different folders,but still i am getting OutOfMemory Exception.Please can any one help me.Below is the my logcat.
E/AndroidRuntime( 3997): FATAL EXCEPTION: main
E/AndroidRuntime( 3997): Process: com.pm.a, PID: 3997
E/AndroidRuntime( 3997): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pm.a/com.activities.services.ConfirmDetails}: android.view.InflateException: Binary XML file line #48: Error inflating class <unknown>
E/AndroidRuntime( 3997): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2305)
E/AndroidRuntime( 3997): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363)
E/AndroidRuntime( 3997): at android.app.ActivityThread.access$900(ActivityThread.java:161)
E/AndroidRuntime( 3997): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
E/AndroidRuntime( 3997): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3997): at android.os.Looper.loop(Looper.java:157)
E/AndroidRuntime( 3997): at android.app.ActivityThread.main(ActivityThread.java:5356)
E/AndroidRuntime( 3997): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3997): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3997): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
E/AndroidRuntime( 3997): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
E/AndroidRuntime( 3997): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3997): Caused by: android.view.InflateException: Binary XML file line #48: Error inflating class <unknown>
E/AndroidRuntime( 3997): at android.view.LayoutInflater.createView(LayoutInflater.java:626)
E/AndroidRuntime( 3997): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
E/AndroidRuntime( 3997): at com.activities.services.ConfirmDetails.onCreate(ConfirmDetails.java:90)
E/AndroidRuntime( 3997): at android.app.Activity.performCreate(Activity.java:5426)
E/AndroidRuntime( 3997): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 3997): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2269)
E/AndroidRuntime( 3997): ... 11 more
E/AndroidRuntime( 3997): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 3997): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 3997): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
E/AndroidRuntime( 3997): at android.view.LayoutInflater.createView(LayoutInflater.java:600)
E/AndroidRuntime( 3997): ... 26 more
E/AndroidRuntime( 3997): Caused by: java.lang.OutOfMemoryError
E/AndroidRuntime( 3997): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
E/AndroidRuntime( 3997): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:677)
E/AndroidRuntime( 3997): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:507)
E/AndroidRuntime( 3997): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:872)
E/AndroidRuntime( 3997): at android.content.res.Resources.loadDrawable(Resources.java:3056)
E/AndroidRuntime( 3997): at android.content.res.TypedArray.getDrawable(TypedArray.java:602)
E/AndroidRuntime( 3997): at android.widget.ImageView.<init>(ImageView.java:133)
E/AndroidRuntime( 3997): at android.widget.ImageView.<init>(ImageView.java:123)
E/AndroidRuntime( 3997): ... 29 more
W/ActivityManager( 3050): Force finishing activity com.activities.services.ConfirmDetails
Thanking in Advance.
The OOM errors are a real pain in the a$$.
All you can do is resize your image to lower quality and/or enable largeHeap.
Have a look to this:
Bitmap recycle with largeHeap enabled
I have a res folder which contains all the xml files. The size of the res folder is around 2.8Mb
I also have a zip file which i need to bundle into the raw folder in res
The zip file increases the size of the res folder to around 4Mb which is when weird things start to happen.
I see a crash in initializing the appcompat ActionBarView, but only on 2.3 and older devices !
If the size of the res folder is below 2.8M then it works perfectly on 2.3 devices also !
Everything works perfectly on 4.0 and above devices irrespective of the size of the res folder.
The back trace of the crash is :
E/AndroidRuntime( 9234): FATAL EXCEPTION: main
E/AndroidRuntime( 9234): java.lang.Error: FATAL EXCEPTION [main]
E/AndroidRuntime( 9234): Unity version : 4.2.2f1
E/AndroidRuntime( 9234): Device model : samsung SCH-R760
E/AndroidRuntime( 9234): Device fingerprint: samsung/SCH-R760/SCH-R760:2.3.6/GINGERBREAD/FB14:user/release-keys
E/AndroidRuntime( 9234):
E/AndroidRuntime( 9234): Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.genina.android.blackjack.view/com.helpshift.HSConversation}: android.view.InflateException: Binary XML file line #25: Error inflating class android.support.v7.internal.widget.ActionBarView
E/AndroidRuntime( 9234): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1651)
E/AndroidRuntime( 9234): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:1667)
E/AndroidRuntime( 9234): at android.app.ActivityThread.access$1500(ActivityThr ead.java:117)
E/AndroidRuntime( 9234): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:935)
E/AndroidRuntime( 9234): at android.os.Handler.dispatchMessage(Handler.java:99 )
E/AndroidRuntime( 9234): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 9234): at android.app.ActivityThread.main(ActivityThread.jav a:3691)
E/AndroidRuntime( 9234): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9234): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 9234): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:912)
E/AndroidRuntime( 9234): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:670)
E/AndroidRuntime( 9234): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 9234): Caused by: android.view.InflateException: Binary XML file line #25: Error inflating class android.support.v7.internal.widget.ActionBarView
E/AndroidRuntime( 9234): at android.view.LayoutInflater.createView(LayoutInfla ter.java:51
E/AndroidRuntime( 9234): at android.view.LayoutInflater.createViewFromTag(Layo utInflater.java:570)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.rInflate(LayoutInflate r.java:623)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.rInflate(LayoutInflate r.java:626)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.parseInclude(LayoutInf later.java:682)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.rInflate(LayoutInflate r.java:619)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.inflate(LayoutInflater .java:40
E/AndroidRuntime( 9234): at android.view.LayoutInflater.inflate(LayoutInflater .java:320)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.inflate(LayoutInflater .java:276)
E/AndroidRuntime( 9234): at com.android.internal.policy.impl.PhoneWindow.setCo ntentView(PhoneWindow.java:235)
E/AndroidRuntime( 9234): at android.app.Activity.setContentView(Activity.java: 1679)
E/AndroidRuntime( 9234): at android.support.v7.app.ActionBarActivity.superSetC ontentView(ActionBarActivity.java:20
E/AndroidRuntime( 9234): at android.support.v7.app.ActionBarActivityDelegateBa se.ensureSubDecor(ActionBarActivityDelegateBase.ja va:175)
E/AndroidRuntime( 9234): at android.support.v7.app.ActionBarActivityDelegateBa se.setContentView(ActionBarActivityDelegateBase.ja va:133)
E/AndroidRuntime( 9234): at android.support.v7.app.ActionBarActivity.setConten tView(ActionBarActivity.java:76)
E/AndroidRuntime( 9234): at com.helpshift.HSConversation.onCreate(HSConversati on.java:47)
E/AndroidRuntime( 9234): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1050)
E/AndroidRuntime( 9234): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1615)
E/AndroidRuntime( 9234): ... 11 more
E/AndroidRuntime( 9234): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 9234): at java.lang.reflect.Constructor.constructNative(Nati ve Method)
E/AndroidRuntime( 9234): at java.lang.reflect.Constructor.newInstance(Construc tor.java:415)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.createView(LayoutInfla ter.java:505)
E/AndroidRuntime( 9234): ... 28 more
E/AndroidRuntime( 9234): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 9234): at android.support.v7.internal.widget.ActionBarView$H omeView.onFinishInflate(ActionBarView.java:1291)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.rInflate(LayoutInflate r.java:631)
E/AndroidRuntime( 9234): at android.view.LayoutInflater.inflate(LayoutInflater .java:40
E/AndroidRuntime( 9234): at android.view.LayoutInflater.inflate(LayoutInflater .java:320)
E/AndroidRuntime( 9234): at android.support.v7.internal.widget.ActionBarView.< init>(ActionBarView.java:21
E/AndroidRuntime( 9234): ... 31 more
Has anyone faced this problem ?
After compiling my ROM, I'm getting a constant recurring SystemUI crash notification, right after booting into the OS.
I'm kinda hazy on the log generated, & not able to exactly trace the cause of error.
Can someone please help me understand it?
D/SystemUIService( 5810): loading: class com.android.systemui.statusbar.phone.PhoneStatusBar
D/SystemUIService( 5810): running: com.android.systemui.statusbar.phone.PhoneStatusBar#41cd3358
I/StatusBarManagerService( 2314): registerStatusBar bar=com.android.internal.statusbar.IStatusBar$Stub$Proxy#41cedcd8
W/ResourceType( 5810): Failure getting entry for 0x7f0d0068 (t=12 e=104) in package 0 (error -75)
D/AndroidRuntime( 5810): Shutting down VM
W/dalvikvm( 5810): threadid=1: thread exiting with uncaught exception (group=0x41993a08)
E/AndroidRuntime( 5810): FATAL EXCEPTION: main
E/AndroidRuntime( 5810): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #99: Error inflating class <unknown>
E/AndroidRuntime( 5810): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2671)
E/AndroidRuntime( 5810): at android.app.ActivityThread.access$1600(ActivityThread.java:156)
E/AndroidRuntime( 5810): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
E/AndroidRuntime( 5810): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5810): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5810): at android.app.ActivityThread.main(ActivityThread.java:5229)
E/AndroidRuntime( 5810): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5810): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5810): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 5810): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 5810): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5810): Caused by: android.view.InflateException: Binary XML file line #99: Error inflating class <unknown>
E/AndroidRuntime( 5810): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
E/AndroidRuntime( 5810): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 5810): at android.view.View.inflate(View.java:16465)
E/AndroidRuntime( 5810): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:372)
E/AndroidRuntime( 5810): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:2192)
E/AndroidRuntime( 5810): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:2168)
E/AndroidRuntime( 5810): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:388)
E/AndroidRuntime( 5810): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:349)
E/AndroidRuntime( 5810): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:104)
E/AndroidRuntime( 5810): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2661)
E/AndroidRuntime( 5810): ... 10 more
E/AndroidRuntime( 5810): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 5810): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 5810): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 5810): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
E/AndroidRuntime( 5810): ... 30 more
E/AndroidRuntime( 5810): Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x1
E/AndroidRuntime( 5810): at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:463)
E/AndroidRuntime( 5810): at android.view.View.<init>(View.java:3340)
E/AndroidRuntime( 5810): at android.widget.ImageView.<init>(ImageView.java:114)
E/AndroidRuntime( 5810): at android.widget.ImageView.<init>(ImageView.java:110)
E/AndroidRuntime( 5810): ... 33 more
W/ActivityManager( 2314): Process com.android.systemui has crashed too many times: killing!