Android – unable to run the application – “the target device does not support the ‘run as’ command”

The first time I ran Android studio on a MacBook, I received this error. The program couldn't start on my device. I just received a crash message

On Android studio, I got "the target device does not support the 'run as' command". When I inserted it into Google, I didn't get any results. I got a "learn more" section, but pointed to this link under the heading of "about instant running": https://developer.android.com/studio/run/index.html?utm_ medium=android-studio#instant-run.

Any suggestion will be highly appreciated

resolvent:

I recently upgraded to as 2.2. This message suddenly appeared today. Restarting studio will cause this message to disappear

But the overall build looks slow - so I used the ADB command to stop and start the server. Now it seems that instant run works better

adb kill-server
adb start-server

My cell phone is moto g x1032 w lollipop

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>