本文介紹了無法訪問包管理器.安裝android應用程序時系統是否正在運行的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
在模擬器中安裝 android 應用程序時出現以下錯誤.
While installing the android application in the emulator I am getting the following error.
請幫我解決這個錯誤.
錯誤信息:
emulator.exe -avd avd_name
adb wait-for-device
adb install path-to.apk
could not access the package manager. is the system running while installing android application....
推薦答案
您需要等待模擬器完全啟動 - 需要幾分鐘.完全啟動后(模擬器上的 UI 會發生變化),它應該可以工作了.
You need to wait for the emulator to full start - takes a few minutes. Once it is fully started (UI on the emulator will change), it should work.
您需要在模擬器運行后重新啟動應用程序,并在出現提示時選擇正在運行的模擬器.
You will need to restart the app after the emulator is running and choose the running emulator when prompted.
這篇關于無法訪問包管理器.安裝android應用程序時系統是否正在運行的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!