Note that there are some explanatory texts on larger screens.

plurals
  1. POweird errors from activity creation phase
    primarykey
    data
    text
    <p>I have an application with several activities.</p> <p>Couple of them just a simple menues.</p> <p>Just a linear layout. A couple of buttons</p> <p>I've never seen the errors below during development and debugging on my mobile.</p> <p>But crash reports and complains from users show that sometimes by app just forse closes and iirritates people.</p> <p>Example of errors are below.</p> <p>Any ideas where to dig?</p> <p>Sorry, I can not show sources right now. I will add them in several hours. </p> <p>Layout were created in Ecliple android plugin. No extra stuff.</p> <h1>Number 1</h1> <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.reality.weapons.ak47/com.reality.weapons.ak47.MultiMenu}: android.view.InflateException: Binary XML file line #2: Error inflating class java.lang.reflect.Constructor at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2297) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3307) at android.app.ActivityThread.access$2100(ActivityThread.java:115) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1725) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3977) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class java.lang.reflect.Constructor at android.view.LayoutInflater.createView(LayoutInflater.java:512) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:562) at android.view.LayoutInflater.inflate(LayoutInflater.java:385) at android.view.LayoutInflater.inflate(LayoutInflater.java:320) at android.view.LayoutInflater.inflate(LayoutInflater.java:276) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:313) at android.app.Activity.setContentView(Activity.java:1683) at com.reality.weapons.ak47.MultiMenu.onCreate(MultiMenu.java:75) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2260) </code></pre> <p>============================</p> <h1>number 2</h1> <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.reality.weapons.ak47/com.reality.weapons.ak47.MultiMenu}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030005 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2753) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3905) at android.app.ActivityThread.access$2600(ActivityThread.java:129) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2121) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:143) at android.app.ActivityThread.main(ActivityThread.java:4717) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at dalvik.system.NativeStart.main(Native Method) Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030005 at android.content.res.Resources.getValue(Resources.java:901) at android.content.res.Resources.loadXmlResourceParser(Resources.java:1897) at android.content.res.Resources.getLayout(Resources.java:740) at android.view.LayoutInflater.inflate(LayoutInflater.java:318) at android.view.LayoutInflater.inflate(LayoutInflater.java:276) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:226) at android.app.Activity.setContentView(Activity.java:1677) at com.reality.weapons.ak47.MultiMenu.onCreate(MultiMenu.java:75) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2717) </code></pre> <p>============================</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload