Skip to content

Instantly share code, notes, and snippets.

View PeterWaIIace's full-sized avatar
💘
In love with computational evolution

W4ltz PeterWaIIace

💘
In love with computational evolution
View GitHub Profile
@PeterWaIIace
PeterWaIIace / android-ubuntu
Created December 20, 2023 18:26 — forked from mpaepper/android-ubuntu
How to debug your Android device under Ubuntu
When programming apps for Android, you usually want to test them on real Android devices.
This little gist describes how to do so using Ubuntu 14.
First, you need to download and install the Android development IDE (http://developer.android.com/sdk/index.html) and create an Android project which you want to debug.
Next, you need to setup the debugging mode on your Android device. Starting in Android 4.2 you need to enable the developer options first: 1) Go to settings 2) Go to About Phone 3) Tap the build number 10 times (or more, not sure ;)) and you will get the notification that you enabled it.
Then go to the developer settings and enable the debug mode for your phone.
Now you think you can just plug it into your USB mode? - Nope.