In order to enable logging for medailytics plug in, I need to enter this into the emulator's terminal
adb shell
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.
To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh . Select whether you want to import previous Android Studio settings or not, then click OK.
Starting the emulator Use the emulator command to start the emulator, as an alternative to running your project or starting it through the AVD Manager. Here's the basic command-line syntax for starting a virtual device from a terminal prompt: emulator -avd avd_name [ {- option [ value ]} … ]
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With