We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题。对于开启了 WSL2/WSA 的群体来说,这个模拟器似乎是他们的唯一选择。 但由于 Hyper-V 的特殊性质,其自然不会自动连接上给定的 adb server ,而且每次重启时 adb 端口都会变。
找了找,这里有两种主流脚本提供的方案:
bluestacks.conf
bst.installed_images="Nougat64" bst.instance.Nougat64.abi_list="x86,x64,arm,arm64" bst.instance.Nougat64.adb_port="5555" bst.instance.Nougat64.android_google_ad_id="f1dd7843-1c51-49a4-8b16-3fabbb9259a5" bst.instance.Nougat64.android_id="e6010741c22d4787" bst.instance.Nougat64.astc_decoding_mode="software" bst.instance.Nougat64.autohide_notifications="0" bst.instance.Nougat64.boot_duration="65478" bst.instance.Nougat64.cpus="4" bst.instance.Nougat64.device_carrier_code="se_310410" bst.instance.Nougat64.device_country_code="840" bst.instance.Nougat64.device_custom_brand="" bst.instance.Nougat64.device_custom_manufacturer="" bst.instance.Nougat64.device_custom_model="" bst.instance.Nougat64.device_profile_code="stul" bst.instance.Nougat64.display_name="BlueStacks" bst.instance.Nougat64.dpi="240" bst.instance.Nougat64.eco_mode_max_fps="5" bst.instance.Nougat64.enable_fps_display="0" bst.instance.Nougat64.enable_high_fps="0" bst.instance.Nougat64.enable_logcat_redirection="0" bst.instance.Nougat64.enable_notifications="1" bst.instance.Nougat64.enable_root_access="0" bst.instance.Nougat64.enable_vsync="0" bst.instance.Nougat64.fb_height="900" bst.instance.Nougat64.fb_width="1600" bst.instance.Nougat64.gl_win_height="792" bst.instance.Nougat64.gl_win_screen="\\.\DISPLAY1" bst.instance.Nougat64.gl_win_x="293" bst.instance.Nougat64.gl_win_y="120" bst.instance.Nougat64.google_login_popup_shown="0" bst.instance.Nougat64.graphics_engine="pga" bst.instance.Nougat64.graphics_renderer="gl" bst.instance.Nougat64.grm_ignored_rules="" bst.instance.Nougat64.libc_mem_allocator="jem" bst.instance.Nougat64.macro_win_height="-1" bst.instance.Nougat64.macro_win_screen="" bst.instance.Nougat64.macro_win_x="-1" bst.instance.Nougat64.macro_win_y="-1" bst.instance.Nougat64.max_fps="60" bst.instance.Nougat64.pin_to_top="0" bst.instance.Nougat64.ram="4096" bst.instance.Nougat64.show_sidebar="1" bst.instance.Nougat64.status.adb_port="50754" bst.instance.Nougat64.status.ip_addr_prefix_len="20" bst.instance.Nougat64.status.ip_gateway_addr="172.24.96.1" bst.instance.Nougat64.status.ip_guest_addr="172.24.96.187" bst.instance.Nougat64.status.session_id="12"
其中的 bst.instance.Nougat64.status.adb_port="50754" 对应着 127.0.0.1:50754 ,即最终连接接口。
bst.instance.Nougat64.status.adb_port="50754"
127.0.0.1:50754
The text was updated successfully, but these errors were encountered:
对于开启了 WSL2/WSA 的群体来说,这个模拟器似乎是他们的唯一选择。
ReDroid 效果如何
Sorry, something went wrong.
对于开启了 WSL2/WSA 的群体来说,这个模拟器似乎是他们的唯一选择。 ReDroid 效果如何
ref: https://github.com/remote-android/redroid-doc/blob/master/deploy/wsl.md 需要自行编译内核使用,门槛疑似有点过高
另据 remote-android/redroid-doc#290 和 remote-android/redroid-doc#306 ,redroid 在该环境下仅能使用软件解码且无法使用 libhoudini 等专有方案。
libhoudini
No branches or pull requests
如题。对于开启了 WSL2/WSA 的群体来说,这个模拟器似乎是他们的唯一选择。
但由于 Hyper-V 的特殊性质,其自然不会自动连接上给定的 adb server ,而且每次重启时 adb 端口都会变。
找了找,这里有两种主流脚本提供的方案:
这个直接与系统底层巨硬给的 Host Compute Network (HCN) API 交互,通过关键词直接轮询出 5555 的 external port(由蓝叠自动设置)。
这个更简单粗暴些,在模拟器启动后直接读取模拟器安装目录下的
bluestacks.conf
,里面实时存了模拟器的各种信息,包括 Hyper-V 虚拟机。部分信息节录如下:
其中的
bst.instance.Nougat64.status.adb_port="50754"
对应着127.0.0.1:50754
,即最终连接接口。The text was updated successfully, but these errors were encountered: