Error: Could not access the Package Manager. Is the system running? - At Android Studio

前端 未结 8 2188
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-05 14:49

I installed android studio and tried to run easy projects.

But I caught strange error message:

Waiting for device.
/usr/local/idea/android-studio/sdk         


        
8条回答
  •  执笔经年
    2020-12-05 15:02

    I had this issue, but I found that simply killing the emulator and restarting it worked. There seems to be some sort of race condition where the emulator has not initialized before Android Studio tries to launch the apk and so you get the package error.

提交回复
热议问题