What will be the side-loading and debugging mechanism for Android apps on ChromeOS?

孤人 提交于 2019-12-03 01:45:20

Unless you are in Developer Mode, you won't be able to enable unknown sources. So in order to side load apps you will need to put your device into Developer Mode (instructions here - follow the steps for the Chromebook Pixel 2015).

Once you are in Dev Mode, go to Chrome Settings > App Settings > Security > Unknown sources (move to the right)

After enabling developer mode you can side load apps in one of 2 ways:

  1. Upload your .apk to Google Drive or send it to yourself via email, and open it with the Android app equivalent (Drive and Gmail respectively)
  2. Transfer the .apk to the Downloads folder of your Chromebook using a thumb drive, and install it via a File Manager Android app
  3. Transfer the .apk over ethernet from another device, using VT-2 to access the command line on your Chromebook

Here is a sample walkthru of setting up an ethernet connection for approach 3:

  • On desktop - Plug ethernet cable into desktop
  • On desktop - Set an IP: ifconfig eth1 10.xx.xx.xx netmask 255.255.255.254
  • On Chromebook - Go to VT-2: ctrl-alt-fwd (a.k.a. f2)
  • On Chromebook - Plug ethernet into Chromebook
  • On Chromebook - Set an IP for the ethernet: ifconfig eth1 10.xx.xx.xx netmask 255.255.255.254
  • Use scp to transfer the .apk file from the desktop to the Chromebook
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!