Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by wenmingvs
, 1 year ago
Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.fragment.post.picselect.activity.AlbumActivity}: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.RelativeLayout
via Stack Overflow by Edward
, 4 months ago
Unable to start activity ComponentInfo{com.example.dani.zamfireduard_1076/com.example.dani.zamfireduard_1076.RaportGreutateActivity}: java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to android.widget.EditText
via iswwwup.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.dexter.contentpro/com.example.dexter.contentpro.MainActivity}: java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.RelativeLayout$LayoutParams
via teamtreehouse.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{synctc.me.stormy/synctc.me.stormy.MainActivity}: java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to android.widget.TextView
via dahuatu.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.dexter.contentpro/com.example.dexter.contentpro.MainActivity}: java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.RelativeLayout$LayoutParams
via Stack Overflow by Navin
, 1 year ago
Unable to start activity ComponentInfo{com.navinkadlak.typroject/com.navinkadlak.typroject.addemployee}: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.support.design.widget.TextInputLayout
java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.RelativeLayout	at com.wenming.weiswift.ui.login.fragment.post.picselect.activity.AlbumActivity.onCreate(AlbumActivity.java:61)	at android.app.Activity.performCreate(Activity.java:5990)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)	at android.app.ActivityThread.access$800(ActivityThread.java:151)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5254)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)