开发者

How do I open the android emulator's terminal window?

In order to enable logging for medailytics plug in, I need to enter this into the emulator's terminal

adb shel开发者_高级运维l

setprop log.tag.MMT DEBUG

Unfortunatly I don't have a clue how to open the terminal and the developer resource didn't seem to mention the subject.

Also I won't be surprised if anyone tells me that there are in fact 150 more steps in this task because the medialytics documentation is really very poor.


On Windows, it's called the Command Prompt and can be found in your Start menu.

On OS X, it's called the Terminal and can be found in your Apple menu.

On Linux, it's called the Terminal...and if you're on Linux and don't know where that is, may $DEITY have mercy on your soul.


You need to ensure 'adb' is installed on your machine (Windows/Linux/Mac).
Follow the steps mentioned here and here for configuring your android device and readying 'adb'.
You can try adb devices to confirm you have the setup ready.
Then find your terminal/command prompt as per your machine OS for running 'adb shell' and next 'setprop' commands!

All the best!


ADB could be in either one of those two locations:

~/android-sdk-linux/tools
~/android-sdk-linux/platform-tools

This is considering you already have the Android SDK installed.

You can run adb from that directory. Alternatively you can add the path variable to your .bashrc file to run it from anywhere:

$ nano ~/.bashrc

[or other text editor you prefer]

Then add the following:

#AndroidDev PATH
export PATH=${PATH}:~/android-sdk-linux/tools
export PATH=${PATH}:~/android-sdk-linux/platform-tools

If you have adb located elsewhere but don't know where it is, then this could help:

locate adb | grep bin

Source: https://help.ubuntu.com/community/AndroidSDK


ALT + F1 - open the terminal window ALT + F7 - close the terminal window

Tested on Android 4.3

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜