Emacs uses Android mode

Source: Internet
Author: User

First install the Android-mode with the package system,

Then edit the ~/.emacs.d/init.el file and add the following lines:

(Require ' Android-mode) (setq android-mode-sdk-dir "/opt/android-sdk-linux/")

Now restart Emacs, and then run the command in M-x

Android-start-emulator
You will be prompted to enter Android Virtual device, use the up and down keys to find and select, you will see before I installed the MT680, enter the device to eject the operating interface.

It is very convenient indeed.

After you close the program that the device simulates, you can run the Android-start-emulator startup again, and when you exit Emacs, the emulator also shuts down.


If you do not use Emacs Emulator, use the following command line:

EMULATOR-AVD mt680-partition-size >/dev/null &

MT680 can be found via the Android List AVD command:

[Email protected]:~/.emacs.d$ android list avdavailable android Virtual Devices:    name:mt680  device:4in WVGA (Ne Xus S) (Generic)    Path:/home/dean/.android/avd/mt680.avd  target:android 2.3.3 (API level) tag/abi:default/ Armeabi    SKIN:HVGA  sdcard:1g

Enable Debugging tool DDM

M-x ANDROID-START-DDM




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.