logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

HarmonyOS API 9本地模拟机运行程序失败问题

本地模拟器编译报错:Failure[INSTALL_FAILED_INTERNAL_ERROR]

文章图片
#harmonyos#华为
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid...

问题描述:当调用AlertDialog、ProgressDialog等Dialog show时,报出异常android.view.WindowManager$BadTokenExceptionUnable to add window -- token null is not valid; is your activity running?示例代码:new AlertDialog.Builder(g

#android#android studio#java
到底了