Application crashes right after startup

Lukáš Knispel shared this problem 6 years ago
Not a Problem

White screen appears for a second, than crash.. Unable to start application at all. Free version works. HTC Desire Z. Pls help.


app_vercode:222


device_model:vision


build_version:2.3.30


condition:1


processName:menion.android.locus.pro


pid:4154


uid:10107


tag:null


shortMsg:java.lang.ClassCastException


longMsg:java.lang.ClassCastException: android.widget.RelativeLayout


stackTrace:java.lang.RuntimeException: Unable to start activity ComponentInfo{menion.android.locus.pro/menion.android.locus.core.StartScreen}: android.view.InflateException: Binary XML file line #11: Error inflating class menion.android.gui.extension.ListHeader


at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1664)


at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1680)


at android.app.ActivityThread.access$1500(ActivityThread.java:117)


at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)


at android.os.Handler.dispatchMessage(Handler.java:99)


at android.os.Looper.loop(Looper.java:130)


at android.app.ActivityThread.main(ActivityThread.java:3703)


at java.lang.reflect.Method.invokeNative(Native Method)


at java.lang.reflect.Method.invoke(Method.java:507)


at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)


at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)


at dalvik.system.NativeStart.main(Native Method)


Caused by: android.view.InflateException: Binary XML file line #11: Error inflating class menion.android.gui.extension.ListHeader


at android.view.LayoutInflater.createView(LayoutInflater.java:518)


at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)


at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)


at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)


at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)


at android.view.LayoutInflater.inflate(LayoutInflater.java:408)


at android.view.LayoutInflater.inflate(LayoutInflater.java:320)


at android.view.LayoutInflater.inflate(LayoutInflater.java:276)


at android.view.View.inflate(View.java:8857)


at menion.android.locus.core.StartScreen.onCreate(L:121)


at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)


at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1628)


... 11 more


Caused by: java.lang.reflect.InvocationTargetException


at java.lang.reflect.Constructor.constructNative(Native Method)


at java.lang.reflect.Constructor.newInstance(Constructor.java:415)


at android.view.LayoutInflater.createView(LayoutInflater.java:505)


... 22 more


Caused by: java.lang.ClassCastException: android.widget.RelativeLayout


at menion.android.gui.extension.ListHeader.a(L:54)


at menion.android.gui.extension.ListHeader.(L:33)


... 25 more

Comments (6)

photo
0

Hi Lukas,


I have no idea how this is possible. It almost looks like some incorrectly cracked version. Which I hope isn`t ...


Are you using standard ROM or some custom? May you please try to un-install Locus and install it again??

photo
0

Hi Menion,


I am using MIUI-2.3.30 rom based on 2.6.35.14-cyanogenmod-g9e5cdf1. The app has been bought from market today.


I have already tried several reinstallations/older versions of Locus, still the same crash. Yes, it looks like something is wrong with license verification. I have been experimenting with some ad-removing tools recently (didn`t worth it) so I might got my system slightly corrupted. I will try to wipe/reinstall whole rom later this day and post a feedback. Thanks for your time.

photo
0

nono it`s not a problem with licence. Problem is that locus is trying to display start screen but with completely different layout then it should be. So looks like corrupted apk file because otherwise it have to happen to everyone!


If it`s not problem for you, try wipe because I have really absolutely no idea what should I do with it ... to be true, this don`t have solution on my side

photo
0

Happened for every Locus apk I have tried so far.. When I did some sniffing around now with warez tools, I found "Custom patch found" for Locus Pro instead of original "License Verification Found" (like for other paid apps). Something got wrong with those ad-blocks maybe.. Never mind, wipe coming soon. I think am done with unauthorized apps for a long time again.. :)


Anyway, I am surprised with the speed of your support forum..

photo
0

ad-block with Lucky patcher? Ah sure, understand ...

photo
0

..yes, both of them are bad, can not trust the effects.. Easier way is not to use sw with ads. Got rid of all ad-blocks, wiped, installed fresh rom and Locus is running like a charm. Sorry for bothering.. Already tested in terrain this evening (offline vector maps + gpx file full of GCs). Everything works fine, best android app ever, definitely worth the money.. Thank you.