moosphan / android-bug-collections Goto Github PK
View Code? Open in Web Editor NEWCollect Android bugs and give solutions in development life.
Collect Android bugs and give solutions in development life.
这里是 Android bug 的收集贴,欢迎大家将常见bug、疑难bug放在这里,大家一起脑洞找出最优解。目前可以通过创建 Issue 的方式来提bug😄
BadTokenException
完整日志信息如下:
Process: com.example.test, PID: 26269
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@da7868c is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:988)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:398)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:96)
at android.app.Dialog.show(Dialog.java:342)
at androidx.appcompat.app.AlertDialog$Builder.show(AlertDialog.java:1009)
at com.example.tuyafirstday.crash.example.UnableAddWindowCrashActivity.showDialog(UnableAddWindowCrashActivity.java:106)
at com.example.tuyafirstday.crash.example.UnableAddWindowCrashActivity.testNormalWindowCrash(UnableAddWindowCrashActivity.java:66)
at com.example.tuyafirstday.crash.example.UnableAddWindowCrashActivity.access$000(UnableAddWindowCrashActivity.java:29)
at com.example.tuyafirstday.crash.example.UnableAddWindowCrashActivity$1$1.run(UnableAddWindowCrashActivity.java:47)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.