Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译发布包的时候选择release类型编译之后能成功编译,安装之后一启动就奔溃 #48

Open
JianfeiMa opened this issue Aug 27, 2018 · 0 comments

Comments

@JianfeiMa
Copy link

Process: jaydenxiao.com.androidfire, PID: 9733
java.lang.RuntimeException: Unable to start activity ComponentInfo{jaydenxiao.com.androidfire/com.jaydenxiao.androidfire.ui.main.activity.MainActivity}: java.lang.ClassCastException: java.lang.Object cannot be cast to com.jaydenxiao.common.base.c
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2675)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2766)
at android.app.ActivityThread.access$1000(ActivityThread.java:197)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1611)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:5958)
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:1113)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)
Caused by: java.lang.ClassCastException: java.lang.Object cannot be cast to com.jaydenxiao.common.base.c
at com.jaydenxiao.common.base.a.onCreateView(SourceFile:70)
at android.support.v4.app.Fragment.performCreateView(SourceFile:2080)
at android.support.v4.app.ah.a(SourceFile:1108)
at android.support.v4.app.ah.a(SourceFile:1290)
at android.support.v4.app.p.run(SourceFile:801)
at android.support.v4.app.ah.e(SourceFile:1677)
at android.support.v4.app.ae.o(SourceFile:388)
at android.support.v4.app.FragmentActivity.onStart(SourceFile:604)
at android.support.v7.app.AppCompatActivity.onStart(SourceFile:178)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1244)
at android.app.Activity.performStart(Activity.java:6267)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2632)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2766) 
at android.app.ActivityThread.access$1000(ActivityThread.java:197) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1611) 
at android.os.Handler.dispatchMessage(Handler.java:111) 
at android.os.Looper.loop(Looper.java:224) 
at android.app.ActivityThread.main(ActivityThread.java:5958) 
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:1113) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant