简体   繁体   English

如何使用Bluestacks模拟器调试Android Studio项目?

[英]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.

相关问题 如何将 VS Code 中的 Flutter 与 BlueStacks 4 模拟器连接起来? - How can I connect Flutter in VS Code with the BlueStacks 4 emulator? Bluestacks Android 模拟器是使用 .Net 构建的吗? - The Bluestacks Android emulator is built using .Net? 如何检查 bluestacks 模拟器的 Android 操作系统版本 - How to check Android OS version of bluestacks Emulator 如何使用Android模拟器设备在Visual Studio(Xamarin)中访问调试日志? - How can I reach debug log in Visual Studio (Xamarin), with Android emulator devices? 我们如何使用 Bluestacks android 仿真器来测试 Kivy app buildozer? - How can we use Bluestacks android emulator for testing Kivy app buildozer? 将 Bluestacks 连接到 Android Studio - Connect Bluestacks to Android Studio 如何在Android Studio中调试WearableListenerService? - How can I debug a WearableListenerService in Android Studio? 如何检测我的应用程序是否在Bluestacks / Nox或其他模拟器下运行? - How can I detect if my app is working under Bluestacks/Nox or other emulator? 如何使用模拟器在 Android Studio 中加载 React Native 项目? - How do I load React Native Project in Android Studio with an emulator? Android Studio Emulator 已经在运行。 但我在 windows 上看不到模拟器并运行我的项目 - Android Studio Emulator is already running. But I can't see the emulator on the windows and run my project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM