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

前端 未结 8 2207
爱一瞬间的悲伤
爱一瞬间的悲伤 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条回答
  •  旧时难觅i
    2020-12-05 15:03

    The most common cause of this error is simple: You have to manually unlock your Android Virtual Device by swiping the “lock” icon on the screen. Security measures prevent the emulator from letting you connect the debugger before doing this.

    The problem is resolved:

    In Android Studio

    1. Start run/debug
    2. if you see the message
    3. Do not closed the AVD, just click on run/debug again, the Application will be running when you unlock the application.

提交回复
热议问题