<分区>
我有 Galaxy tab S6,它有很酷的功能可以取代笔记本电脑,比如连接鼠标和键盘,但不幸的是,它运行的是 Android 操作系统,而且 Android 可用的开发应用程序不多,所以我想是否有运行的选项至少在我的设备上使用 VS 代码?
<分区>
我有 Galaxy tab S6,它有很酷的功能可以取代笔记本电脑,比如连接鼠标和键盘,但不幸的是,它运行的是 Android 操作系统,而且 Android 可用的开发应用程序不多,所以我想是否有运行的选项至少在我的设备上使用 VS 代码?
最佳答案
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 的方法:
<强>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 Viewer"在 Android 上开始黑客攻击。
您可能需要执行命令 vncserver -list
来列出端口
<强>5。安装vscode for arm64 强>
<强>6。可选:为 arm64 安装 NodeJS
```apt install nodejs```
第二种 hacky 方式(Linux Natively):
安装可启动的linux环境
启动并安装 linux
更多信息:
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=com.termux
https://play.google.com/store/apps/details?id=com.realvnc.viewer.android
关于android - 如何在 Android 设备上运行 VS 代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59612906/
相关文章:
javascript - 为什么 PhoneGap Android 应用程序在将大量数据插入 SQL 时崩溃?
macos - 在 MacOS 中键入之前显示自动完成列表的可视化代码快捷方式
typescript - Visual Studio代码禁用对象解构的代码格式
linux - AT91(Cortex A5 ARM,无GPU)3D图形应用程序开发解决方案
c - uint64_t 类型的参数与 void* 类型的参数不兼容
针对 IAR EWARM 问题的 Kinetis MKE06Z 微 Controller 的自定义引导加载程序