Getting log from Android Device

Android, Tutorials, Unity

Getting log from an Android device is almost mandatory if you’re having trouble with some features (In-App Purchases, Advertising, etc) of your game on Android devices, but finding the correct tool to get the logs can be a pain in the ass if you’re not used to the Android SDK tools.

You just need to use the Android Device Monitor:

Captura de Tela 2015-07-28 às 02.50.40

Where is this tool?

It’s located inside the “tools” sub-folder of your Android SDK folder:

monitor

How to open it?

Sometimes, you can just click it, but if that doesn’t works you can just open the Terminal and enter the “monitor” address like this:

Captura de Tela 2015-07-28 às 03.02.14

Then you just have to press Enter and wait for the “monitor” to load up.

How to use it?

As soon as you open the Monitor, it SHOULD list your connected device and show its log in real time, like this:

devicelog

That’s it!

Anúncios

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s