警告:Activity not started, its current task has been brought to the front


Android開發中,控制台(Console)輸出警告信息:ActivityManager: Warning: Activity not started, its current task has been brought to the front 願意可能是你的模擬器中還有東西在運行,也就是你要運行的activity已經有一個在模擬器中運行了。 不要以為你的模擬器退出到桌面了就沒有東西在跑了。在你調試的時候異常關閉的程序有可能就有activity在運行。 解決方法project->clean。 Activity not started, its current task has been brought to the front的問題就可以了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM