-
Notifications
You must be signed in to change notification settings - Fork 219
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
Kitkat problem #8
Comments
Bump. Same issue on 5.1.1 |
move all from onAttachedToWindow to start of onCreate in LockScreenActivity.java |
Even after moving all from onAttachedToWindow to start of onCreate ,app get error as follows |
Application crashes when it starts.
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: FATAL EXCEPTION: main
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: Process: com.mehuljoisar.lockscreen, PID: 18451
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: java.lang.IllegalArgumentException: Window type can not be changed after the window is added.
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1469)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1419)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.IWindowSession$Stub$Proxy.relayout(IWindowSession.java:835)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.ViewRootImpl.relayoutWindow(ViewRootImpl.java:5609)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1656)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1192)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6231)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:816)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:619)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:588)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:802)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:808)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5388)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:515)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:655)
01-04 18:06:21.096 18451-18451/com.mehuljoisar.lockscreen E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered: