如何在 Android 设备上运行 VS Code [重复]

2024-04-25

我有 Galaxy Tab S6,它具有替代笔记本电脑的很酷的功能,例如连接鼠标和键盘,但不幸的是它运行 Android 操作系统,并且没有很多开发应用程序可用于 Android,所以我想是否有一个选项可以在至少在我的设备上?


更新:只需前往github.dev https://github.dev从您的设备并添加到主屏幕。

我在基于 Galaxy Tab S6 ARM64 的 Linux Ubuntu 上写了这篇文章 处理器使用完整版的chromium。以下方法可以应用于任何高端 Android 设备;)

您有 2 种方法安装 Linux:

  • First easy way(虚拟网络计算)(VNC):

1.通过“Termux”安装Linux发行版

<code> pkg update -y && pkg install proot wget tar pulseaudio  -y &&  wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Rootfs/Ubuntu19/ubuntu19.sh && chmod +x ubuntu19.sh && ./ubuntu19.sh </code>

2. 安装Linux GUI桌面环境,如“Xfce”。

sudo apt-get install xfce4 xfce4-goodies -y

3. 在 Linux 上启动 VNC 服务器。

sudo apt-get install tightvncserver -y

4. Open 在 Android 上开始黑客攻击。

你可能需要执行命令vncserver -list列出端口

5. 安装ARM64 的 vscode https://code.visualstudio.com/download
6. 可选:安装适用于arm64的NodeJS

```apt install nodejs```
  • 第二种 hacky 方法(Linux 本机):

  • 安装可启动的linux环境

  • 启动并安装Linux

更多信息:

https://medium.com/@quantvc/running-debian-on-android-device-natively-73545c9b0757 https://medium.com/@quantvc/running-debian-on-android-device-natively-73545c9b0757

有用的资源:

https://play.google.com/store/apps/details?id=studio.com.techriz.andronix https://play.google.com/store/apps/details?id=studio.com.techriz.andronix

https://play.google.com/store/apps/details?id=com.termux https://play.google.com/store/apps/details?id=com.termux

https://play.google.com/store/apps/details?id=com.realvnc.viewer.android https://play.google.com/store/apps/details?id=com.realvnc.viewer.android

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何在 Android 设备上运行 VS Code [重复] 的相关文章

随机推荐