막무가내 삽질 블로그

error : Unable to add window -- token null is not valid; is your activity running 본문

Android

error : Unable to add window -- token null is not valid; is your activity running

joong~ 2019. 9. 19. 22:20
728x90

dialog 생성시 context 에 getApplicationContext() 로 사용해서 나는 오류

 

AlertDialog.Builder builder = new AlertDialog.Builder(액티비티이름.this);

 

 

Comments