Permanent network debugging on android

I have a development platform for Android Things (Pico i.MX7D SOM) and don’t have a lot of time play with it. Sometimes I do, but it is here and there on average 1 hour a week. Most of the time it sits by the window, tracks the temperature and waits for a little update. Since it’s not on my desk debugging via cable is a pain. I really appreciate the possibility to debug over my wifi network. However, even though debugging over the network is possible, it requires you to connect the cable after each reboot and restart adb in tcpip mode...

Using assembly in Android Studio

There are many reasons why to write your algorithm in assembler. You can have all the optimizations firmly in hand. However, it comes at costs – you need to know a lot about the hardware running your program, your program will be highly non-portable, non readable and you will spend ages on writing it. Oh, did I mention that debugging is a hell? Preparation So, to start using assembly in Android Studio, you need to install Android NDK. You can install it manually (and reference the installation) or from the Android Studio itself ( File > Settings > Appearence & Behaviour...