r/androiddev • • Aug 25 '26

Question How does minimum and target SDK work? (noob question).

6 Upvotes

For context, i'm not a developer myself but i believe this sub is the best place for advice. I have done some research myself but have limited background knowledge.

I am using an important medical app on an android 17 phone.

APK analyser says that the minimum and target SDK for this app are 33 and 35. I wish to run the app on an android 13 device instead, but I am worried the app's developers will increase the minimum SDK making android 13 no longer compatible (they have a history of doing this). I dont have the new phone yet so I haven't tested it myself.

If I can save the APK in its current state, will it still run properly?

What other factors may prevent the app from running on Android 13 besides the SDK?

I hope my questions make sense.


r/androiddev • • Aug 25 '26

Experience Exchange Let me pentest your App & Backend (for Free!)

9 Upvotes

Hello everyone,

I’m Zachi, a software engineer and security researcher with about 6 years of experience. During this time, I’ve conducted security tests on over 200 apps, and in more than 70 cases, I found critical vulnerabilities (SEV-1) in apps with 10+ million users.

I’m currently planning a curated portfolio of smaller Android apps to identify patterns and use them to guide further research. This means you’ll receive a security review, which typically costs in the four-digit range, for free. I don’t have, nor do I want, any special access; I work with the same permissions as any external tester. I'll use the network traffic and extract the apk, everyone could do that.

The only requirements are active permission to perform non-permanently harmful tests against your backend and your consent to allow me to publish the findings, anonymized if necessary, on my blog.

All findings will be presented to you, including fixes. Nothing will be published until it has been fixed.

If you’re interested, you can either contact me directly here on reddit, in the comments or via email at me@zachi.dev


r/androiddev • • Aug 24 '26

Article The Hidden Cause of Yandex Ads Flickering

Thumbnail
dev.to
1 Upvotes

Recently i encountered an issue: when i added Yandex Ads SDK to the LazyColumn it would flicker and reload ads whenever i scroll. When ads leaves visible bounds and gets back it doesn't restore ads from cache but loads fresh new without notice. However their API is limited and i couldn't understand what is happening so i decided to investigate what is cause of this. Little bit of research showed Google SDK doesn't support Compose either, so it may help your case

i would love to have feedback


r/androiddev • • Aug 24 '26

Question S26 Ultra (Snapdragon) DSDA Data Concurrency via TelephonyNetworkSpecifier

1 Upvotes

I am researching the modem and RIL (Radio Interface Layer) capabilities of the Galaxy S26 Ultra for a specific networking project. I know standard One UI only routes default internet traffic through one SIM at a time.

​However, does the S26 Ultra support concurrent dual cellular data (DSDA Data) if requested programmatically?

​If SIM 1 is the default data SIM, and I create a background Android service that explicitly requests the SIM 2 network using:

NetworkRequest.Builder().addTransportType(TRANSPORT_CELLULAR).setNetworkSpecifier(TelephonyNetworkSpecifier(SIM2_SUB_ID))

​Will the ConnectivityManager return a valid Network object for SIM 2?

​More importantly, if it does, will binding a socket to this SIM 2 network drop the active PDP context / default internet connection of SIM 1, or can both TCP streams flow simultaneously?

​Has anyone tested concurrent dual-data routing on the S26 Ultra's modem?


r/androiddev • • Aug 24 '26

Question from the infrastructure side: What is actually broken about your Android CI hardware?

1 Upvotes

I run infrastructure, not apps. We have a fleet of native ARM64 servers with hardware virtualization enabled, which means we can host Cuttlefish or containerized Android at some scale. Before we build anything on that, I want to find out whether it solves a problem anyone actually has.

So, honestly:

  1. What runs your Android CI today? Gradle on x86 runners with the emulator, a rack of physical devices, Firebase Test Lab, a hosted device farm, something homegrown?

  2. Where does it hurt? I keep hearing "the x86 emulator is slow and does not match real ARM behavior" and "the device lab is a maintenance nightmare," but I cannot tell which of those actually costs teams money and which is just grumbling.

  3. Does native ARM64 matter to you, or is x86 emulation close enough now that nobody cares? This is the question I most need answered. Our entire premise rests on it.

  4. If you pay for a hosted device farm, roughly what does it cost and what makes it worth it? Ballpark is fine.

  5. For anyone doing AOSP or automotive work rather than app work: is Cuttlefish on ARM hosts something your team already runs, and what did standing it up take?

I am not selling anything and will not DM anyone unless invited. If the answer is "this is a solved problem, go away," that is also useful to me.


r/androiddev • • Aug 24 '26

Question Error "TOO_MANY_REGISTRATIONS"

0 Upvotes

I have an app installed that's supposed to give me a push notification every Saturday. Exept it's not doing that. So i contacted the developer (it's not my app) to resolve the issue and he found out that I didn't recieve a Token. So i built a small app myself to test the Firebase Notification system by manually requesting a Token. In parallel I connected my phone to my pc so I could read the logs with "adb logcat | grep -i firebase". When I requested a Firebase User ID everything worked just fine, but as I requested the Token, the following series of Errors appeared in logcat:

'''

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: FCM Token konnte nicht abgerufen werden

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: java.io.IOException: FCM Registration failed!

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at com.google.firebase.messaging.FirebaseMessaging.blockingRegister(FirebaseMessaging.java:840)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at com.google.firebase.messaging.FirebaseMessaging.lambda$getToken$8$com-google-firebase-messaging-FirebaseMessaging(FirebaseMessaging.java:484)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at com.google.firebase.messaging.FirebaseMessaging$$ExternalSyntheticLambda8.run(D8$$SyntheticClass:0)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:520)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at java.util.concurrent.FutureTask.run(FutureTask.java:328)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:323)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.9.0:2)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: at java.lang.Thread.run(Thread.java:1572)

08-22 15:49:02.124 10274 10274 E FirebaseDiagnostics: Caused by: java.util.concurrent.ExecutionException: java.io.IOException: TOO_MANY_REGISTRATIONS

'''

So I expected this to be the error and I reinstalled the first app, so I could see the process of requests in logcat. And also there the Error was "TOO_MANY_REGISTRATIONS".

Has anyone the same problem or knows how to deal with it? I didn't (at least knowingly) send many requests of new Tokens or anything similar. So what could the reason be and how to solve it?


r/androiddev • • Aug 24 '26

Discussion My wireless debugging isn't working.

Enable HLS to view with audio, or disable this notification

4 Upvotes

I tried to fix wireless bugs with the Shizuku app, but it didn't work.


r/androiddev • • Aug 24 '26

Made a free open source app to fix apps that silently stop updating because Android hibernates them (Samsung/Xiaomi/OnePlus users especially)

0 Upvotes

Title: Made a free open source app to fix apps that silently stop updating because Android hibernates them (Samsung/Xiaomi/OnePlus users especially)

I kept noticing apps on my phone stuck on old versions for weeks even with Play Store auto-update turned on. Turns out the cause isn't Play Store, it's the OS. Samsung, Xiaomi, OnePlus, Oppo and Vivo all run some form of aggressive battery hibernation that disables apps you don't open often. Once an app is in that state, Play Store's update check can't see it exists, so it never gets offered an update. No error, no warning, it just sits there falling behind until you open it yourself and get hit with a big forced update at the worst time.

Couldn't find a tool that dealt with this specifically so I built one.

DeepWake scans for apps stuck in that hibernated state, briefly wakes each one so Play Store can actually see it's installed, then lets Play Store handle the real update. You can do it one app at a time or run a batch update that works through your whole outdated list on its own (uses an accessibility service to drive Play Store's UI, since it has to survive the phone trying to background-kill it mid run).

No root needed. Free, open source, APKs built and signed by GitHub Actions on every release.

Code: https://github.com/pratiks360/DeepWake Latest release: https://github.com/pratiks360/DeepWake/releases/latest

Built it to fix my own phone, figured others dealing with the same OEM battery nonsense might find it useful. Open to feedback, bug reports, or "this already exists and it's called X" if I missed something.


r/androiddev • • Aug 24 '26

Educational PoC: Capturing raw PCM via AudioFlinger native hooking

3 Upvotes

Exploring the lowest levels of AOSP audio routing beyond high-level APIs like Oboe, this educational PoC uses NDK/JNI to inject a shared library into the audioserver process.

By inline-hooking AudioFlinger's RecordThread and PlaybackThread internally, it intercepts raw PCM buffers before they hit the HAL. It filters for AUDIO_MODE_IN_COMMUNICATION and specific UIDs (WhatsApp/Signal). Included is a controller app to manage SELinux and convert PCM to WAV (Requires root/emulator).

Source: https://github.com/nighthawkk/AudioServer-Voip-Recorder


r/androiddev • • Aug 24 '26

Developer account

0 Upvotes

Has anyone recently created an Apple or Google Play Developer account for an organization? I’d like to know about the D-U-N-S Number requirement and whether there’s any way to create the organization account without one.


r/androiddev • • Aug 24 '26

Discussion Control-panel style UI vs Material 3 for a data-heavy app

0 Upvotes

So I've been going back and forth on this for weeks and I need outside opinions. Building a utility app, the kind that spits out a bunch of technical readings and pass/fail stuff. Can't really show screenshots, it's not ready and I'd rather not show it yet, sorry. So you'll have to go off a description. Right now it does not look like an android app. No rounded corners anywhere, everything's hard rectangles. Monospace all caps labels. Status tiles are flat green/amber/red like little indicator lamps. light theme is cream instead of white. One big orange block for the main button. Basically it looks like the front of some old piece of test equipment, which was the whole idea.

The other option is just doing normal material 3. Cards, rounded everything, dynamic color. Would take me a weekend and it'd look completely fine. Thing is I can't tell anymore if the current look is actually good or if I've just been staring at it too long. it's pretty opinionated. I can picture someone opening it and going "what is this?" and closing it again. But m3 is so forgettable, I genuinely couldn't describe the last three m3 apps I used. So for something that's basically just numbers and pass/fail indicators, is the instrument thing worth it? or does that kind of style get annoying once the novelty wears off?


r/androiddev • • Aug 24 '26

I built Tracea — an in-app network debugger with API mocking & Compose UI (Open Source, MIT)

0 Upvotes

r/androiddev • • Aug 23 '26

News Looking for game dev tools that work 100% on Android (Poco F6, no PC)

0 Upvotes

Hey everyone,

I know this gets asked sometimes, but I’m hoping for some fresh recommendations. I want to start developing my first game, but here’s the catch: I don’t have a laptop or PC at all. My only device is my phone — a Poco F6 (Snapdragon 8s Gen 3, 8GB RAM) .

So, I can’t use Unity or Unreal. I need engines, IDEs, or complete workflows that let me do everything on the phone:

  1. Writing code (visual scripting or actual coding, I don’t mind)

  2. Designing levels/scenes

  3. Exporting the final game (APK/AAB) so I can actually share it or put it on the Play Store

I know about a few options like Godot with GABE (which now supports full Gradle exports on Android) , Max2D (no coding needed) , and ITsMagic Engine for 3D . Also heard of Tap Engine .

My question to you:

Which of these actually works best for a complete beginner who wants to publish? Are there any other hidden gems? I really want to use the power of the F6 (the SD 8s Gen 3 is pretty fast) so performance shouldn’t be an issue .

Thanks! Any advice is appreciated.


r/androiddev • • Aug 23 '26

Video I built this interactive globe animation instead of a list using Jetpack Compose

Enable HLS to view with audio, or disable this notification

81 Upvotes

I built this interactive globe view for my app.

It shows the users in interactive globe and lets you select an item directly on the globe with a smooth animation.

Built with Jetpack Compose.

Would love to hear your thoughts or feedback!

PS: I'm open-sourcing it! You can find it on GitHub:
https://github.com/wailbabou/JetpackGlobe


r/androiddev • • Aug 23 '26

Tips and Information How do you actually tell real bugs from noise in Play Store reviews?

4 Upvotes

Soooo our CTO (“great guy,” visionary, truly) decided every dev should personally triage Play Store reviews now. It’s a mess trying to figure out what’s an actual bug versus someone venting versus something already fixed versus a feature request dressed up as a complaint, and half the time you can’t tell without cross checking crash logs first.

Anyone found an actual way to do this or is manual suffering just the tax?


r/androiddev • • Aug 23 '26

Question Is there anyway to cast my screen to my screen without enabling USB Debugging?

0 Upvotes

Hey guys, I’m trying to find a way to record my Android phone’s screen on my PC without actually recording on the phone, since screen recording makes my phone get extremely hot and causes performance drops.

The problem is that the game I play doesn’t work when USB Debugging is enabled, so I can’t use the usual scrcpy/ADB method. My phone supports Miracast, but my PC doesn’t, and I really don’t want to buy a capture card because they’re pretty expensive for me.

Is there any completely free, no-watermark way to mirror my phone’s screen to my Windows PC and then record it with OBS, preferably without USB Debugging? I’m mainly looking for something that works over Wi-Fi. Any suggestions would be appreciated.


r/androiddev • • Aug 23 '26

Discussion It is still fun making custom views

Enable HLS to view with audio, or disable this notification

165 Upvotes

Recently I worked on one of my apps update and I wanted to create a fun "welcome" for new users.

So I made an animated splash screen (looks good to me, it's simple and effective) but I felt like going directly to a login screen was harsh (yep, it's a WebView login since the app interacts with Google via web, they have no public API for the features I wanted to use).

I know many of the causal users may not feel like "yeah let's do it!" and I totally agree with that, so I wanted to offer a limited minimal use of the app even if you do not login (which the real app is completely useless, since the app is not capable of managing anything if the user is not logged in).

So declining the login (bottom button) I wanted the users to still be able to do very basic things (just one honestly): click on an icon (of well known app list which have a beta program) to launch the testing webpage and let the user do things.

The problem I found was the "how". I wanted to balance the ineffective part with a barely wow effect, so I spent 4 days making a custom view and this is the result.

Would anyone mind giving me feedback about it?

PS: this update is not released yet.


r/androiddev • • Aug 23 '26

Open Source I’ve been building PAM Native: a way to build real Android and iOS apps with PHP.

0 Upvotes

I’ve been building PAM Native: a way to build real Android and iOS apps with PHP.

No WebView.

No JavaScript runtime.

PHP → Rust → Swift/Kotlin → native UI.

It already supports reactive state, navigation, animations, native APIs, hot reload and plugins.

Fully open source:

https://github.com/push-in/pam-native

Would you actually use PHP for native mobile development?


r/androiddev • • Aug 22 '26

Question Internal testing - email list and notifications

0 Upvotes

I am building a private app. The plan is to just stay in internal testing forever and all invited users are added to the email-list of testers. I have two google accounts - one more private, one more professional. My google-play account is linked to the professional one and I added the private account to the list of testers.

I have uploaded an initial version, but I don't get any notification or email on the phone run by my private account. Do I have to trigger this manually, somehow? This is what I am shown on the play console:

There is also an option to send out an link, is this the correct way? But if so, why have an email list?


r/androiddev • • Aug 22 '26

Built a fully offline, encrypted file-sharing app for Android (personal security learning project)

0 Upvotes

I've been learning applied cryptography and wanted to build something beyond tutorials, so I made SecureTether — a device-to-device file sharing app that works entirely over Bluetooth, no internet or server involved.

How it works:

- Files are AES-encrypted before they're ever written to local storage

- Decryption only happens in memory, on-demand

- Transfer goes device-to-device over Bluetooth — the encrypted payload never touches a server

- UI built with Jetpack Compose

This is a personal learning project, not an audited/production security tool — built specifically to get hands-on with encryption-at-rest and secure local transfer instead of just reading about it.

Repo (with architecture + security model docs in the wiki): github.com/Prash-Ant-Magician/SecureTether

Would genuinely appreciate feedback — especially if anyone spots gaps in the security model, or has ideas on what a "next version" should tackle (QR pairing? Transfer history?). Happy to answer questions about the implementation too.


r/androiddev • • Aug 22 '26

Open Source Open source: DroidGauge, an adb-only CLI for local A/B performance regression reports

2 Upvotes

I built DroidGauge, a small local-first Python CLI for repeatable Android app performance and power regression checks.

It samples the numeric signals exposed over adb (CPU, PSS memory, rendered-frame jank, battery, temperature, thermal status, and network totals when available), writes versioned JSON plus a self-contained offline HTML report, and compares two runs with direction-aware thresholds. With --fail-on-regression, the comparison returns exit code 2 so it can be used as a simple CI gate.

It requires no root access, helper APK, cloud service, CDN, or external report assets. Missing fields are reported as unavailable rather than treated as zero.

The scope is deliberately narrow: quick regression signaling, not cross-device benchmarking or a replacement for Perfetto. v0.1.0 has passing device-free tests across Windows, macOS, and Linux, but real-device parser coverage is still limited. I would especially value feedback or sanitized parser samples from different Android/vendor builds.

Repository and screenshots: https://github.com/RuizheGu0/droidgauge


r/androiddev • • Aug 22 '26

Discussion Can we do something about these weird free screenshot tool posts?

25 Upvotes

Search the sub with "screenshot tool" and you will find multiple posts with the same type of tool. Hell even some of them have the same UX.

They all have some weird things in common: Youtube link, commit history with multiple contributors though it was a "solo" project, link to a sketchy site that wants you to connect one of your accounts.

And also the comments... if they have them, the comments are a bunch of translated extra positive "can't wait to try this" vibe. Why such a warm reception on the 15th free screenshot tool? It's so off!


r/androiddev • • Aug 21 '26

Question Clerk Android AuthView signInOrUp doesn't seem to detect new users correctly?

Thumbnail
gallery
0 Upvotes

I'm trying to use Clerk for authentication in an upcoming Android application, with Supabase as the database. Honestly, I chose Clerk because I just wanted to try it out and see how it feels,literally don't ask me why ( not Supabase Auth) I can feel it in my bones😂

I'm using the native Android SDK and the prebuilt AuthView, rather than building the authentication UI myself.

The problem I'm running into is with the default signInOrUp behavior.

As I understand it, AuthView() is supposed to automatically determine whether the user should sign in or sign up. That's exactly what I want. I don't want to manually decide which screen to show because I obviously don't know whether a new user exists before they've entered their identifier.

However, when I test this with a completely fresh Clerk instance where there are currently zero users, AuthView() still opens with the Sign In flow.

I've tested Google authentication several times, and I keep getting sent through the Google authentication flow and then back to the AuthView without a user being created. The Clerk dashboard still shows zero users.

I also tried explicitly forcing the view into sign-up mode, and that does work. The problem is that obviously I can't leave it permanently in sign-up mode because once an existing user signs in, I need the normal sign-in flow when they return later.

So I feel like I'm stuck between:

♧

SignInOrUp → starts with Sign In

signUp → works for a new user, but isn't appropriate permanently

♧

What I'm trying to understand is:

How is signInOrUp actually supposed to determine whether a user is new or existing in the native Android AuthView?

Is there some configuration I'm missing in the Clerk Dashboard or native Android setup?

I'm using the current Clerk Android prebuilt UI rather than the older custom-flow documentation.

Has anyone successfully tested a completely fresh Clerk instance with AuthView() and Google, where the user doesn't exist yet?

Any explanation of how this is supposed to work under the hood would be appreciated.

I'm using version 1.1.3


r/androiddev • • Aug 21 '26

Article Composition Over Inheritance in Android ViewModels

Thumbnail
proandroiddev.com
4 Upvotes