[英]How can I debug Android Studio Project using Bluestacks emulator?
I'm new to using Android Studio as I used Eclipse before. 我对使用Android Studio并不陌生,就像以前使用Eclipse一样。 As my laptop has an AMD processor, i'm trying to emulate using Bluestacks - as I did in Eclipse. 由于我的笔记本电脑具有AMD处理器,因此我正在尝试使用Bluestacks进行仿真-就像在Eclipse中一样。 I can run the project fine but when I try to debug I get the following message on Bluestacks: 我可以很好地运行项目,但是当我尝试调试时,我在Bluestacks上收到以下消息:
'Application blah (process com.example.blah) is waiting for the debugger to attach' - with the option to force close. “应用程序等等(进程com.example.blah)正在等待调试器附加”-带有强制关闭选项。 I have tried a few things such as setting 'debuggable:true' and 'uses-permission' attribute in manifest, restarting Android studio/Bluestacks, to no avail. 我尝试了一些事情,例如在清单中设置“ debuggable:true”和“ uses-permission”属性,重新启动Android Studio / Bluestacks,无济于事。 I can't seem to find any other info applicable to this particular situation. 我似乎找不到适用于此特定情况的任何其他信息。
Thanks in advance for any help! 在此先感谢您的帮助!
转到platfrom-tools
下的SDK
文件夹,运行adb connect localhost:5555
并返回至android studio并运行项目
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.