app won't work on lollipop

0 maor vahav · June 2, 2015
hi all, for some reason my app only works on android versions that are lower than lollipop. i can't find the porblem, here's the log of the crash,
any ideas?


log:  05-27 09:23:14.425: W/ResourceType(25060): Found multiple library tables, ignoring...
05-27 09:23:14.526: I/Timeline(25060): Timeline: Activity_launch_request id:com.androidbegin.parselogintutorial time:137770600
05-27 09:23:14.693: D/OpenGLRenderer(25060): Render dirty regions requested: true
05-27 09:23:14.700: D/Atlas(25060): Validating map...
05-27 09:23:14.777: I/Adreno-EGL(25060): : EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.013_msm8974_LA.BF.1.1.1_RB1__release_AU ()
05-27 09:23:14.777: I/Adreno-EGL(25060): OpenGL ES Shader Compiler Version: E031.25.03.00
05-27 09:23:14.777: I/Adreno-EGL(25060): Build Date: 01/21/15 Wed
05-27 09:23:14.777: I/Adreno-EGL(25060): Local Branch: mybranch7061829
05-27 09:23:14.777: I/Adreno-EGL(25060): Remote Branch: quic/LA.BF.1.1.1_rb1.7
05-27 09:23:14.777: I/Adreno-EGL(25060): Local Patches: NONE
05-27 09:23:14.777: I/Adreno-EGL(25060): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.013 +  NOTHING
05-27 09:23:14.778: I/OpenGLRenderer(25060): Initialized EGL, version 1.4
05-27 09:23:14.798: D/OpenGLRenderer(25060): Enabling debug mode 0
05-27 09:23:18.682: I/Timeline(25060): Timeline: Activity_launch_request id:com.androidbegin.parselogintutorial time:137774756
05-27 09:23:18.947: I/Timeline(25060): Timeline: Activity_idle id: android.os.BinderProxy@5826c6c time:137775021
05-27 09:23:20.424: I/Timeline(25060): Timeline: Activity_launch_request id:com.androidbegin.parselogintutorial time:137776498
05-27 09:23:20.437: W/ResourceType(25060): Too many attribute references, stopped at: 0x01010034
05-27 09:23:20.438: W/ResourceType(25060): Too many attribute references, stopped at: 0x01010034
05-27 09:23:20.450: D/AndroidRuntime(25060): Shutting down VM
05-27 09:23:20.455: E/AndroidRuntime(25060): FATAL EXCEPTION: main
05-27 09:23:20.455: E/AndroidRuntime(25060): Process: com.androidbegin.parselogintutorial, PID: 25060
05-27 09:23:20.455: E/AndroidRuntime(25060): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.androidbegin.parselogintutorial/com.androidbegin.parselogintutorial.UserPersonalRecipes}: android.view.InflateException: Binary XML file line #40: Error inflating class
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2345)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2405)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.app.ActivityThread.access$800(ActivityThread.java:149)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.os.Handler.dispatchMessage(Handler.java:102)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.os.Looper.loop(Looper.java:211)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.app.ActivityThread.main(ActivityThread.java:5317)
05-27 09:23:20.455: E/AndroidRuntime(25060): at java.lang.reflect.Method.invoke(Native Method)
05-27 09:23:20.455: E/AndroidRuntime(25060): at java.lang.reflect.Method.invoke(Method.java:372)
05-27 09:23:20.455: E/AndroidRuntime(25060): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1016)
05-27 09:23:20.455: E/AndroidRuntime(25060): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
05-27 09:23:20.455: E/AndroidRuntime(25060): Caused by: android.view.InflateException: Binary XML file line #40: Error inflating class
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.createView(LayoutInflater.java:633)
05-27 09:23:20.455: E/AndroidRuntime(25060): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:55)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
05-27 09:23:20.455: E/AndroidRuntime(25060): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3500)
05-27 09:23:20.455: E/AndroidRuntime(25060): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3572)
05-27 09:23:20.455: E/AndroidRuntime(25060): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:371)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.app.Activity.setContentView(Activity.java:2144)
05-27 09:23:20.455: E/AndroidRuntime(25060): at com.androidbegin.parselogintutorial.UserPersonalRecipes.onCreate(UserPersonalRecipes.java:52)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.app.Activity.performCreate(Activity.java:5933)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
L05-27 09:23:20.455: E/AndroidRuntime(25060): ... 10 more
05-27 09:23:20.455: E/AndroidRuntime(25060): Caused by: java.lang.reflect.InvocationTargetException
05-27 09:23:20.455: E/AndroidRuntime(25060): at java.lang.reflect.Constructor.newInstance(Native Method)
05-27 09:23:20.455: E/AndroidRuntime(25060): at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.LayoutInflater.createView(LayoutInflater.java:607)
05-27 09:23:20.455: E/AndroidRuntime(25060): ... 26 more
05-27 09:23:20.455: E/AndroidRuntime(25060): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RtlSpacingHelper.setDirection(boolean)' on a null object reference
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.widget.Toolbar.onRtlPropertiesChanged(Toolbar.java:296)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.View.resolvePadding(View.java:13328)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.ViewGroup.resolvePadding(ViewGroup.java:6033)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.View.initializeScrollbarsInternal(View.java:4634)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.View.(View.java:4226)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.view.ViewGroup.(ViewGroup.java:492)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.widget.Toolbar.(Toolbar.java:183)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.widget.Toolbar.(Toolbar.java:179)
05-27 09:23:20.455: E/AndroidRuntime(25060): at android.widget.Toolbar.(Toolbar.java:175)
05-27 09:23:20.455: E/AndroidRuntime(25060): ... 29 more



thanks to all replies!



Post a Reply

Replies

Oldest  Newest  Rating
0 Ian Arbuckle · June 2, 2015
Are you using code that is depreciated? Some code may not compile on the latest versions.
  • 1

Java / Android Development

107,080 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator