Android View not attached to window manager
Problem:
java.lang.
IllegalArgumentException: View not attached to window manager
at android.view. WindowManagerImpl. findViewLocked( WindowManagerImpl.java:587)
at android.view. WindowManagerImpl.removeView( WindowManagerImpl.java:324)
at android.view. WindowManagerImpl$ CompatModeWrapper.removeView( WindowManagerImpl.java:151)
at android.app.Dialog. dismissDialog(Dialog.java:325)
at android.app.Dialog$1.run( Dialog.java:123)
at android.app.Dialog.dismiss( Dialog.java:310)
at com.exalt. $ IMEICheckTask.onPostExecute( Version2Activity.java: 698)
at com.exalt.$ IMEICheckTask.onPostExecute( Version2Activity.java:1)
at android.os.AsyncTask.finish( AsyncTask.java:602)
at android.os.AsyncTask.access$ 600(AsyncTask.java:156)
at android.os.AsyncTask$ InternalHandler.handleMessage( AsyncTask.java:615)
at android.os.Handler. dispatchMessage(Handler.java: 99)
at android.os.Looper.loop(Looper. java:137)
at android.app.ActivityThread. main(ActivityThread.java:4447)
at java.lang.reflect.Method. invokeNative(Native Method)
at java.lang.reflect.Method. invoke(Method.java:511)
at com.android.internal.os. ZygoteInit$ MethodAndArgsCaller.run( ZygoteInit.java:784)
at com.android.internal.os. ZygoteInit.main(ZygoteInit. java:551)
at dalvik.system.NativeStart. main(Native Method)
Solution
java.lang.
at android.view.
at android.view.
at android.view.
at android.app.Dialog.
at android.app.Dialog$1.run(
at android.app.Dialog.dismiss(
at com.exalt.
at com.exalt.$
at android.os.AsyncTask.finish(
at android.os.AsyncTask.access$
at android.os.AsyncTask$
at android.os.Handler.
at android.os.Looper.loop(Looper.
at android.app.ActivityThread.
at java.lang.reflect.Method.
at java.lang.reflect.Method.
at com.android.internal.os.
at com.android.internal.os.
at dalvik.system.NativeStart.
Solution
@Override
protected
void
onPostExecute(String result) {
try{
progressDialog.dismiss();
progressDialog
= null;
}
catch
(Exception e) {
}
}
Thanks for your grateful informations, this blogs will be really help for Android tutorial.
ReplyDelete-:)
ReplyDeleteThanks for this thread. I find it a pain to identify exceptional knowledge out there when it comes
ReplyDeleteto this content. I appreciate the content!
Stop by my weblog computer repair fresno ca
Thanks for this blog post. I find it a pain to see extremely good information and facts out there when it
ReplyDeletecomes to this subject matter. Thanks for the publish!
Have a look at my web blog : fresno computer repair
Thanks for this page. I find it difficult to acquire good important information out there
ReplyDeletewhen it comes to this subject material. I appreciate the guide!
My blog :: Web Design Fresno
Thanks for this post. I find it difficult to locate smart knowledge
ReplyDeleteout there when it comes to this content. I appreciate the write-up!
Feel free to surf my blog post : Fresno seo