如何在 Android 设备上运行 VS Code [英] How to run VS Code on Android Device

查看:561
本文介绍了如何在 Android 设备上运行 VS Code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have Galaxy tab S6 and it has cool features to replace laptop like connecting mouse and keyboard, but it unfortunately running Android OS, and not a lot of development apps are available to Android, so I thought if there's an option to run VS code at least on my device?

推荐答案

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

I Wrote this post using Linux Ubuntu on Galaxy Tab S6 ARM64 Based Processor using full version of chromium. and the following methods can be applied on any high-end android device ;)

您有两种安装 Linux 的方法:

  • 第一个简单方法(虚拟网络计算)(VNC):
  • First easy way (Virtual Network Computing) (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.打开 VNC 查看器" 在 android 上开始黑客攻击.

4. Open "VNC Viewer" on android to start hacking.

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

you may need to do command vncserver -list to list the port

5.安装 vscode for arm64
<强>6.可选:为 arm64 安装 NodeJS

```apt install nodejs```

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆