Skip to main content

Android

Android emulator access to local server
·3 mins
Android Adb Emulator Localhost Server
How can you connect your app on an Android emulator to a development server running on the localhost of your computer? The problem # Since Android emulators create their own virtual network, they cannot access devices on your local network.
Transfer many large files from Android
·3 mins
Android Adb Backup Files
Trying to get a large number of files from your Android phone, but Android File Transfer freezing up? Here’s what I learned trying to pull ~170 Gb from my Pixel phone.
Share code between Android and Jvm in Kotlin multiplatform
·3 mins
Android Kotlin Multiplatform Code Sharing Gradle
While Android supports most Java language features, it doesn’t support every API that Java provides. On the other hand, Kotlin multiplatform only allows sharing code across all targets (commonMain), not a subset of targets (commonJvm).
Migrating away from JCenter
·5 mins
Android Library Maven Jcenter Bintray Transitive Dependencies Gradle
This week JFrog - out of nowhere - announced to completely remove their Maven repository. Since they’ll pull it offline already by May 2021 (!!!) it’s time to urgently migrate away.
Test library releases using an in project Maven repository
·3 mins
Android Library Maven Transitive Dependencies Gradle Kotlin
Short, powerful post on how to test the release version of libraries directly within a project without having to deploy them to Maven first. As a bonus, there will also be an open-source example showcasing all of this in action.
Android library development - Dependencies
·9 mins
Android Library Maven Transitive Dependencies Gradle Kotlin
Ever had a build failure while integrating an SDK? Wonder how you can avoid your SDK customers having dependency conflicts? How many transitive dependencies should your SDK have?
Android library development - Modularization
·6 mins
Android Library Modularization Maven Gradle Kotlin
With modularization being all the hype, should you also modularize an SDK? Are fat aar files really needed? And how do you prevent internal APIs from being exposed on your public interface?
Android library development - Getting started
·5 mins
Android Library Maven Gradle Kotlin
Having switched to Android SDK development over the past year, I’ve run into quite a few interesting and unexpected challenges. So how does library development differ from app development?
Feature flags - A successful architecture
·12 mins
Architecture Android Firebase Feature Flags
Now that we know how feature flags can help us release faster, it’s time to dive into the actual implementation details. How can we easily define feature flags?
Feature Flags - How to use
·5 mins
Android Firebase Feature Flags Software Engineering Tools
Empowered with what feature flags are and why they are useful, let’s see how we can actually integrate them into an app. And how can we roll them out to our users?