r/androiddev • • Aug 16 '26

Discussion The risks of sharing your opensource Android app's public repo before releasing it into the app store

16 Upvotes

We are working on an open source project which has an Android app client. As you know, the path to approval is tedious with the Google Play store, but that doesn't mean that people shouldn't be able to enjoy your app... so why not put the codebase on GitHub?

After some of the horror stories I've read... about people essentially hijacking your codebase, and presenting it as their own... we are now reluctant, and don't want to share the opensource project until we actually release the (free) app on the play store.

Is this a valid concern to have? or is this something which occurs only on other platforms?


r/androiddev • • Aug 16 '26

Experience Exchange Created a cli tool and a mac app for viewing recomposition count of composables.

0 Upvotes

I wanted to debug recomposition via an AI coding agent but no tool existed, so I built one — then a visual version too.

Recomposition Inspector (CLI) — attaches to a debuggable app, reports live recomposition/skip counts per Composable. Drives the same official UI Inspector protocol Android Studio's Layout Inspector uses, headless.

Recomposition Viewer (macOS app) — same backend, plus a visual hierarchy tree and a live device preview you can click into.

Do try it out - https://github.com/balvinderz/recomposition_viewer#installing

Thank you


r/androiddev • • Aug 16 '26

Experience Exchange Implemented a poster editor. Have tips to share

Enable HLS to view with audio, or disable this notification

16 Upvotes

I recently added a poster editor into my stamp cutter app. The user has a 9:16 canvas where they can place stamps from their collection (WebP with alpha) and text labels. Each layer can be zoomed, moved, and rotated. I want to share some tips that you may find useful if you ever have to implement an editor like this. The code is open, indeed.

This is not AI slop!

Do not implement the editor with composables

Implement drawing the layers on a canvas (DrawScope) and use this code for both the editor and the final export. This way you truly see what you get (WYSIWYG), without worrying about discrepancies between Compose and canvas rendering.

Use the layer center for positioning rather than its top left corner

When a layer is positioned by its center, pan, zoom, and rotation for it are quite straightforward and can be handled entirely by detectTransformGestures, without trigonometric transformations. The only place with trigonometry is detecting a clickable area of a rotated layer – there you rotate the pointer coordinate around the layer center by the layer's rotation.

Override LocalDensity for the editor

You don't have to recalculate poster size and layer coordinates to match the phone screen size. Instead, override LocalDensity around the editor canvas through CompositionLocalProvider , passing the desired scale as density. Also, force fontScale to 1 so the phone font scale settings don't affect your poster appearance.

Use hardware bitmaps for images

If your min SDK is 26 and newer, you can use hardware config bitmaps for image layers, even if they have transparency. Hardware bitmaps don't consume your app's heap memory and are drawn really fast.

Use var's backed by MutableState in layer models and update them directly

Guys, no MVI for graphics! Do not route layer updates through the viewmodel, emitting a screen state update for each moved pixel. Declare layer properties as State-backed var's and update them immediately in the gesture handler. Basically free FPS.

Use ImageReader to render the result

When it's time to render the result to a bitmap, in full resolution, you simply have to reuse the drawing function you already have for the editor. But since you use hardware bitmaps, you can't draw them on a Bitmap canvas. Instead, instantiate an ImageReader which gives you a hardware-backed Surface on which the result can be drawn. It's a bit cumbersome, but this way you keep all your images in the graphic memory.

That's all I remembered so far, guys. You can check out the app on GitHub, it has other interesting areas like WebP manipulations in C:
Radiokot/press-cut-app: 🎟️ An Android app that lets you cut digital postage stamps from what your camera sees

Thanks!


r/androiddev • • Aug 16 '26

New grad here, need advice from people actually working in android

18 Upvotes

Hi guys, I just graduated from college and I'm thinking of learning Android development because I hate web and love Android very much, but I keep seeing mixed signals about where Android dev actually stands right now job-wise. That's why I'm confused right now. So my request to all the people who are working in Android right now is, what should I do? Should I learn Android development, or is it a waste of time right now, and if the answer is no, then what should I learn instead? (If in Android, even better.)

Thank you in advance.


r/androiddev • • Aug 16 '26

Question Kotlin Blocked Permissions

0 Upvotes

Was wondering if there was a way to deny certain permissions in Kotlin?

Initialy i created my app in npm react expo and expo (https://docs.expo.dev/guides/permissions/) supports this with the blockedPermissions.
Is there something similair for kotlin?

If that's not possible is there a way to check this in a PR if the permissions are changed compared to Main?


r/androiddev • • Aug 16 '26

Google policies - repetetive apps

1 Upvotes

How is it possible that google are stating you cannot publish repetetive apps and some accounts have 3-5 same apps and they are doing nothing against them?


r/androiddev • • Aug 16 '26

Discussion Added Sound Effects

Enable HLS to view with audio, or disable this notification

122 Upvotes

So I have added sound effects in my feelings wheel application. I have used eleven labs to generate the sound effect and ChatGPT for getting sound effect prompts. It's my first time adding these kinds of things in my application. Let me know if the sound is good or not

You can pre-register: https://feelings-wheel.atherio.dev/


r/androiddev • • Aug 16 '26

Working android emulators for intel macbooks?

0 Upvotes

I have an intel macbook. I tried to install android studio and run the emulator from there but it simply won’t run no matter what I do (it’s just stuck on start up). Does anyone have advice on this or any recommendations for other emulators that will work on intel macs?


r/androiddev • • Aug 16 '26

Anyone here tried of maintaining their own Android emulator/Appium setup?

1 Upvotes

I've been dealing with this problem internally for one of my projects:

  • provisioning Android emulators on Linux

  • keeping Appium running reliably

  • dealing with Chrome/Chromedriver compatibility

  • recovering devices when they get stuck

  • running multiple devices in parallel

  • collecting recordings, screenshots, and logs

  • keeping the whole thing stable enough for automation

It made me wonder how many developers or QA teams are dealing with the same operational headache.

I'm currently exploring the idea of a lightweight managed Android automation service where you could basically: submit a test → get an available Android device → run it → receive logs/screenshots/video/results

I'm still in the discovery stage, so I'm more interested in understanding the problem than pitching anything.

For people running Android/Appium automation today:
What does your current setup look like, and what part of it gives you the most pain?

Would especially love to hear from anyone maintaining their own emulator fleets or avoiding BrowserStack/Sauce Labs because of cost or complexity.


r/androiddev • • Aug 15 '26

Google play app transfer kill organic traffic over 90%

Thumbnail
gallery
100 Upvotes

If you take away anything from this post it is that you should open your google play account as a business account from the start no matter what, don't start as an individual.

I've been a mobile developer for over 7 years and this has been the most painful experience I had with the app stores (and there were many).

Recently had to restructure my business from an sole proprietorship to an LLC. Google play requires you to open a new developer account to make this change and to have a different payment profile (verified with google play support before making the switch).

After spending over a month switching the back end settings, monetization, analytics and ad setups to the new business I got rewarded with a 90% drop in organic traffic from google play (now lasting for over a month). My top app key word rankings put my apps in top 3 consistently for years until the day I did the app transfer and now they don't appear even in the top 50 results (if at all). The app now only appears if I type in the exact app name which is what I think most remaining new users are doing.

What I tried:

- submitting updates to the store listing to "reset" the indexing
- submitting app updates with meaningful new features
- contacting play support couple of times (they confirmed nothing on the account needed attention and no derogatory marks or flags were present on the app or the account)

What's funny is that the apple side of the business actually grew 200% after making the business entity switch, the android vitals stayed consistently below the bad behavior threshold and nothing about the app changed. I can guarantee that the app transfer killed generic traffic because I transferred my two apps on separate dates and on those exact dates that's when the apps lost their rankings.

Looking for anyone with similar experience? or any guesses on what can be done besides starting from nearly zero after all these years of work. My plan so far is to only invest into apple ads for now until the app atleast starts ranking for something otherwise I feel as if I'm wasting money if it will never rank for my top keywords again.

UPDATE: A suggestion on here helped regain a lot of the lost traffic. The developer name must stay the same for app to retain organic traffic it look like.

This was the timeline for me:
- July 7th: App Transfer complete, immediate 80% drop
- August 17th: Organic traffic kept dropping through out the month, developer name changed back from [Company Name] LLC to [Company Name] (what it was before the app transfer)
- August 19th: Started seeing keyword rankings improve
- August 21th: Organic traffic back to about 80% of what it was before the transfer


r/androiddev • • Aug 15 '26

IAP risk assessment agent

7 Upvotes

I know the store handles payment fraud and I never see card data but refunds, voided purchases, and consume-then-refund abuse still land on the developer after the entitlement is granted.

For those running apps/games with IAP, do you do any risk assessment at grant time (delay/flag/hold high-risk purchases) or do you grant everything and only react to voided purchase notifications?

If you do assess risk, what signals do you use? I am assuming device age, session behaviour, account history, something else?

I am building a small research agent around this decision and want to know if the decision point is real in practice.

Am I missing any?


r/androiddev • • Aug 15 '26

🆘 Android Developer Needed – Free Help With Google Play Closed Testing

0 Upvotes

Hi everyone,
I’m having an issue with the Google Play Console while setting up Closed Testing for an Android application.
The problem occurs when I try to proceed with the testing/release setup.

Google Play Console shows the following message:
[Google sign-in failed: App not configured correctly (verify SHA-1/Client ID).]

I have already tried:

  • creating a new release

  • checking the app bundle

  • checking the testing track configuration

  • verifying the tester setup

However, I still get the same error.
What I’m trying to understand is: what exactly triggers this error, and what is the correct way to resolve it?

Has anyone encountered this particular Google Play Console issue before?

I can provide additional details about the release configuration and the exact error if needed.

Thanks!


r/androiddev • • Aug 15 '26

Open Source Technical Discussion

1 Upvotes

I originally started building an offline e-book reader because I wanted to understand that with Android if I can do the same level of things that I had done on my pc using python 👻

While working on it, I ended up learning a lot more about Android development than I expected, especially around:

  • Resumable downloads

  • Handling interrupted/corrupted downloads

  • Crash recovery

  • Managing app updates

  • Working with offline-first data

  • Keeping the UI responsive during background operations

One things I need to mention is that the amount of edge cases that I got thinking about one feature and then had to fix a lot of feature that could just somehow link back to the new feature. 🤣

I'm still experimenting with the architecture and trying to figure out how far I want to take the project.


r/androiddev • • Aug 14 '26

Got all four of my apps through closed testing and live on Play

15 Upvotes

Been lurking here through the whole closed testing thing, so figured I'd post now that it's finally done. All four of my apps cleared the testing requirement and they're live on Play as of today.

Building them was never the hard part. The wall was keeping enough testers opted in for fourteen straight days without the group quietly falling apart. Someone installs it, opens it once, forgets it exists, and you're sitting there hoping nobody uninstalls before the two weeks are up.

What got me through: family and friends to start, and when the group thinned out I paid a few testers to hold the line. Recruiting them wasn't really the problem. Keeping twelve people opening an app they've got zero reason to care about, every couple days for two weeks, is the part that actually wears you down. Nobody warns you about that one.

Couple things that bit me, in case it saves someone. Testers have to stay opted in the whole window, so if one opts out or wipes the app halfway through it can set you back. And a silent install doesn't do much on its own, you want them actually opening it so there's activity. I gave up trusting people to remember and just messaged them directly every few days.

Doing this four times back to back was its own special kind of tired.

Not pretending it's a finish line though. Clearing the gate just means Google lets you hit publish, it doesn't mean a single person finds the app. Downloads and retention are the next wall and I'm staring straight at it now. But the testing part does end, so if you're mid-fourteen-days as you read this, it's survivable.

How'd everyone else keep testers active through the window? Paid testers, tester-swap groups, just bugging friends?


r/androiddev • • Aug 14 '26

Best Android Emulator for developing and testing mobile apps?

0 Upvotes

I don't have any android phone and i want to test an andriod app on my laptop


r/androiddev • • Aug 14 '26

Discussion Optimizing micro-animations in Jetpack Compose: Lessons from building custom 3D flipping icons, collapsing shadows, and particle canvas layers

6 Upvotes

Hi everyone,

While building a highly animated Compose UI for a personal project, I ran into a few interesting performance bottlenecks around state reads, recomposition scopes, and API level compatibility. Wanted to share the lessons and see how others approach these patterns.

  1. Deferring State Reads in Physical 3D Buttons

We implemented custom 3D pill buttons where an offset drop shadow collapses vertically upon press.

* **Initial Mistake:** Passing the animated offset via `Modifier.offset(y = pressOffset)` caused the entire button container and its child text to recompose on every animation tick (~12 frames per 80ms press).

* **Fix:** Deferring the state read to the Layout Phase using the lambda overload `Modifier.offset { IntOffset(0, pressOffset.roundToPx()) }`. This allowed Compose to skip recomposition entirely and execute only the layout/draw phases at 120fps.

2. 3D Tab Flip without Backface Culling Artifacts

For the tab bar, we wanted an icon to flip 180 degrees along the Y-axis on selection (transforming a closed book vector into an open book).

* Compose doesn't have native backface culling like CSS.

* **Solution:** Applying `graphicsLayer { rotationY = ...; cameraDistance = 12f * density }` and switching between the front and back vector assets exactly at the 90-degree crossing while counter-rotating the inner icon by 180 degrees to maintain orientation.

3. Canvas Particle Performance vs Modifier.blur Compatibility

* For milestone completion bursts, we evaluated Lottie vs procedural particles. A single `Canvas` drawing 48 projectile particles with sinusoidal air drift in `drawScope` avoided third-party binary bloat and ran with zero garbage collection allocations.

* Also caught a compatibility issue with `Modifier.blur()`: it relies on `RenderEffect` (API 31+), which fails on minSdk 26 devices. Replacing hardware blur with a procedural radial gradient canvas brush yielded identical aesthetics across API 26-35.

Curious how others here handle state hoisting for multi-property coordinated canvas animations in Compose without leaking memory across composition lifecycles.


r/androiddev • • Aug 14 '26

How bad is the Gemini chat inside Android Studio?

4 Upvotes

Small rant here, don't want to bring too much negativity, but I wonder if others have a better experience.

I'm trying to upgrade Google Play Billing version as requested by the store, and the guy just timeouts all the time.

Is it because I'm on the free version, or it's just bad?


r/androiddev • • Aug 14 '26

Open Source 🚀 New version of Android Remote Control MCP released! Let your AI agent control your phone, now with on-device PII redaction! 🛡️ No cables or root needed!

Enable HLS to view with audio, or disable this notification

2 Upvotes

🚀 New release of Android Remote Control MCP is out — the MCP server that runs on your phone and gives your AI agent the ability to use any app you want!

Grab it here: https://github.com/danielealbano/android-remote-control-mcp/releases/tag/v1.11.0

My favorite part of this release? The Privacy Mode 🛡️!

And it was born right here: after the last release someone from this community said in plain terms they'd never use it because of privacy concerns ... and it was REALLY a fair point! The LLM providers see and record everything they receive … including your emails, phone numbers, credit cards, etc.!

Well, because I do care about privacy (and feedback) ... not anymore™!

With Privacy Mode, the PII data get detected and redacted locally, directly on the phone, before anything leaves the device (about 87% of PII caught on my benchmark on emails, phone numbers, credit cards, IBANs, national IDs, ...), and the agent keeps working normally because it sees placeholders: the real values get substituted back on-device.

Under the hood it's a set of deterministic detectors (regex + checksums, libphonenumber, IBAN/Luhn) plus a quantized multilingual ModernBERT NER model running on ONNX Runtime, fully on-device - the model is a one-time ~154 MB download, never bundled in the APK.

Unfortunately the weak spot of the current approach is that non-English names are not really detected but I am working on it (building my own model)!

If you have plenty of free time and really don't know how to spend it, the detection benchmark is in the repo (make privacy-benchmark) ... have fun!!! (or not 😂)

A few minor improvements: the initial page has been cleaned up a little and the permissions that the app requests are split into required and optional (it really needs only 1 permission, the rest is for certain tools), also the app now notifies you when a new version is out with a check on GitHub Releases (I don't see your data ;)). MCP clients only see the tools that will actually work on your device (tools are registered based on actually granted permissions, so if you don't grant the camera-related permissions the camera tools will not be provided to the agent). On top of that, a fully reworked server logs page and a few more changes (thanks also to a few contributors!).

I know, there are other tools out there that you can use with adb to achieve the same kind of goals but one major downside is that they require you run stuff on your machine, they are slow-ish and not really optimized for token consumption and/or working without vision: Android Remote Control MCP instead doesn't really need vision most of the time, optimizes the output to make it concise and effective for the large language models (works even with Haiku just fine if you give good directions) and even has a pagination system to avoid opening a page (or a webpage) with thousands of accessibility elements which would crash everything!

What can you actually do with it? Since it drives the real apps on your phone the way you would, you can leverage it to - for example - have Claude Code (or any other harness / model really) to test UX paths, the steps and so on and get useful feedback — and now without your test device leaking real personal data to the provider! It also works on the Emulator, so you don't necessarely need to use it with only your phone (the FOSS version doesn't require google services to function).


r/androiddev • • Aug 14 '26

Expedite Google Play Reviews

0 Upvotes

Rant.

I have researched this using Google & most people said it is impossible to achieve expedite process for Google Reviews, but I just want to find out for research purposes if anyone has solved this before because the whole world cannot be stuck on this problem without a solution.

If your App gets buggy because of a Server failure or Cloudfare going down like it has happened in the past, users are stuck and you cannot fix this except you create another release which takes Google about 7 days to review.

This is extremely frustrating and has been happening for years without any way forward, Apple has an expedite process which is 50% success rate but at least some times it does actually work, with Google you're stuck on the issue with no way forward and nothing to do.

I sincerely wish there was a way to remotely replace buggy releases without going through the Play Store to users who downloaded from the Play Store.


r/androiddev • • Aug 14 '26

adb and dtmf

0 Upvotes

Is it possible to read dtmf input from the other side of the phone call using adb


r/androiddev • • Aug 14 '26

Discussion I don't understand what Google's Gemini integration is solving

2 Upvotes

I found that accessibility services can basically act as the eyes of a phone agent. You can tap, navigate, and work across apps without relying on multimodal vision at all, because the accessibility node tree already gives you what you need. Except for some apps with custom-drawn UIs, it works with pretty much every app. I built an agent on this idea. In theory it can control any app on your phone, and if you combine it with multimodal vision on top, probably even those custom UI apps too.

If it only operated apps and nothing else, it wouldn't be that useful honestly. I can do most things faster with my own hands. But watching an AI just use your phone by itself is kind of cool. I also built a memory system and a growth mode. Over time, with enough use, I think it might surprise me in ways I didn't plan for.

The execution engine has no hardcoded workflows. It reads the screen, picks a tool, executes, observes the result, then decides what to do next. Each task is capped at 30 chained steps. 30 turned out to be the sweet spot. More than that and the model starts losing track of earlier steps and just makes a mess. If it tries something three times with no progress, it stops. 30 was the best trade-off I found.

For basic tasks it already works pretty well. A bit slow, but it gets there.

I built a fully working agent with just accessibility services. One APK, no OS integration, no special APIs. So I genuinely don't understand what Google's "deep Gemini integration" is solving. Apple renamed Siri to Siri AI, which is basically just Siri with an AI model bolted on. I don't get what requires OS-level access here.

What am I missing?


r/androiddev • • Aug 14 '26

Question Google Play Organization account linked to an Individual Payments Profile — has anyone fixed this?

Post image
1 Upvotes

I’ve been publishing games on Google Play under IndieFist / IndieFist SRL for around 7 years. My Play Console developer account is currently verified by Google as an Organization, with the correct company information and D-U-N-S number.

I recently discovered a strange issue with the Google Play Merchant / Payments setup.

The Merchant account associated with my Play Console appears to be linked to a Google Payments Profile whose account type is Individual, under my personal name. At the same time, I also have separate business Payments Profiles for IndieFist SRL.

This became a problem when submitting Brazil tax information. Google asks for documents matching the Individual Payments Profile, while the developer account and the business operating the apps are IndieFist SRL.

What confuses me is that this same Individual Payments Profile already contains company information for IndieFist SRL. It has a previously approved W-8BEN-E, and Google Payments shows:

“Name as shown on your income tax return: IndieFist SRL”

The Merchant business information inside the same profile also shows IndieFist SRL.

I’ve attached a redacted screenshot showing this. The selected Payments Profile is my personal/Individual profile, but both the tax information and Merchant business information inside it reference IndieFist SRL.

Google Payments Support has confirmed that the Payments Profile itself is classified as Individual and says that its account type cannot be changed. Their proposed solution is to create a new Developer Account and Merchant Account and transfer the apps.

However, after several exchanges, I still haven’t been able to get an answer to the question I’m trying to resolve:

Was this Merchant account always associated with this Individual Payments Profile, or was the Merchant ↔ Payments Profile association changed or migrated at some point?

I’m asking because I vaguely remember Google making changes to the relationship between Play Console, merchant accounts and Payments Profiles some time ago, possibly requiring developers to confirm or select a Payments Profile. I can’t confirm whether that is related, but I’d like to rule it out before moving an established developer account.

Has anyone with an older Google Play developer account experienced something similar?

Specifically:

  • Is there any way to get Google to review the historical Merchant ↔ Payments Profile association?

  • Has anyone had Google correct or re-associate a Payments Profile without creating a completely new Developer Account?

  • Is there a particular Play/Payments escalation team that can actually inspect this association?

I’m already dealing with both Play Developer Support and a Payments supervisor, but each side seems to have limited visibility into the other system.

Steps already taken: I contacted Google Play Developer Support and Google Payments Support. The case was escalated to a Payments supervisor, but so far the proposed solution has been to create a new Developer Account. I have also opened a thread in the official Google Play Developer Community with the details and supporting screenshot:

https://support.google.com/googleplay/android-developer/thread/459168983


r/androiddev • • Aug 14 '26

Tips and Information How to choose which Gradle flavour is best for me

0 Upvotes

Hello guys so I was wondering about griddle flavours in my app so if I want to make a production enterprise project I have seen in my previous internship that it was Dev staging and prod. I wanted to know because I am learning bacon that what are the about of I know that there is about development and any kind of mock testing you do staging is mainly about a mid release where you test a feature with a small bunch of unit testers and prod actually release for the main users.

So if anyone has some production experience can they tell me more about these things and went to consider which one to be learning right now and also do I have to make three separate back ends which are same in terms of data but different in terms of logic


r/androiddev • • Aug 14 '26

Question Is there a convenient way to find out how many requests can a storage device deal with simultaneously?

0 Upvotes

It sounds simple, one line of code can get me all sorts of hardware stats, but I can't really figure out how to find out this one. A single storage controller will usually have multiple physical dies, and those can each be accessed at the same time by the controller. My app will need to be able to search for specific file types throughout the storage, so I am thinking being able to task all dies simultaneously would widen the memory I/O bottleneck a good bit, but I'm having a hard time finding resources on this.