emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Android port


From: Peter Oliver
Subject: Re: Android port
Date: Sun, 19 Feb 2023 11:24:33 +0000 (GMT)

Po Lu writes:

Dov Grobgeld writes:

To use adb on Linux you need to do the following:

1. Enable debug mode on the android device. The way you do this
depends on the device, but it typically involves tapping five to seven
times on the system about kernel version. Look for it on the web.
2. After enabling debug mode looking for "USB debugging" on the device
and turn it on.
3. Connect the android device to the computer by cable.
4. Run `adb shell` on your computer. This will fail to connect because
of permissions.
5. On the android device you will get a popup asking whether you want
to allow usb debugging from your computer. Confirm this.
6. Back in the computer terminal do a `killall adb` to remove the
previous adb process (it installs itself as a server). And redo it.
7. You will now have a shell into your device. :-)

You can use adb to copy files `adb push` and `adb pull` to the device.

You can also use `adb logcat` and filter the output by regexps.

Everyone, do we need this information in the Emacs manual?

Yes, but better to direct users to the official documentation 
(https://developer.android.com/studio/command-line/adb) rather than try to 
describe it ourselves, I think.

--
Peter Oliver



reply via email to

[Prev in Thread] Current Thread [Next in Thread]