python - Cannot get the emulator running for my Android App using beeware (newbie)
问题描述
I am using windows. As given in this link https://docs.beeware.org/en/latest/tutorial/tutorial-5/android.html When I ran the app it is showing this error
In future, you can specify this device by running:
briefcase run android -d @beePhone
Starting emulator beePhone...
Waiting for emulator to start...................
Android emulator was unable to start!
Try starting the emulator manually by running:
C:\Users\Alok\.briefcase\tools\android_sdk\emulator\emulator.exe @beePhone -dns-server 8.8.8.8
Resolve any problems you discover, then try running your app again. You may
find this page helpful in diagnosing emulator problems.
https://developer.android.com/studio/run/emulator-acceleration#accel-vm
I have no clue how to resolve the issue. Even connecting my phone doesn't help as it is not showing up as an option. Can someone help? Please tell me a little in detail as I am new to it.
解决方案
如果有人遇到同样的问题,它已经解决了。只需要在开发者选项中打开USB调试,然后就可以让android设备显示在cmd上。此外,为了在 android studio 中使用 intel,桌面应该有 UEFI 模式而不是 Legacy 模式。如果它是像我这样的传统模式,您可以使用 ARM,但它非常慢。
推荐阅读
- jquery - Jquery 数据 json 未在 Html [Laravel] 中显示
- java - 有没有办法简化这个旨在返回给定整数的绝对值的代码?
- html - css 3D rotate 在 safari 和 ios safari 上不起作用(确实使用了 -webkit- 和一切)
- java - File.createTempFile 抛出 Permission denied
- android - 如何开始使用 Pjsip 视频聊天 android 应用程序?
- ms-access-2010 - 修复 Visual Basic 中的连接 ms 访问错误?
- ios - 如果正在使用我的小部件,如何查询 WidgetKit?
- javascript - 显示空白数据的下拉列表
- php - 如何创建多维数组以按类别分组
- reactjs - 在 reactjs 中使用 window.open() 打开文件时以自定义名称下载文件