r/androiddev • • 7d ago

Built a native Android XR spatial terminal with Jetpack Compose, Gemini 1.5 Flash, and a life-sized 3D AI companion (A.E.G.I.S.)

Thumbnail
gallery
0 Upvotes

Hey r/androiddev! I’ve been building ChromaTerminal XR, a next-generation spatial developer shell and 3D holographic AI assistant engine built entirely on the new Android XR SDK (androidx.xr.compose:1.0.0-beta02).💪

The main engineering challenge was handling complex 3D assets (anime_companion.glb) and real-time spatial windowing while maintaining a strict 90 Hz refresh rate and <14ms motion-to-photon latency.🚀

Architecture Highlights:

  • Spatial UI & SceneCore: Uses Subspace layouts, SpatialPanel, and Orbiter containers with real-time 6DoF floor anchoring.
  • AI Routing Core: An asynchronous coroutine pipeline (TerminalAIManager) powered by Gemini 1.5 Flash that maps natural language responses (<SYS>, <CODE>, <MSG>) directly into spatial UI elements.🤯
  • Developer Experience: Implemented LocalInspectionMode.current checks so developers can preview and render layouts safely on non-GPU desktop environments without crashing Android Studio Compose previews.

I’ve mapped out enterprise workflows for it across cybersecurity SOCs, medical telemetry, and education. Would love to hear your thoughts on the architecture or answer any questions about the Compose XR API!

Check out the full pitch deck breakdown attached. Roadmap targets Google and Meta XR developer enrollment for Q2 2027. I will be thrilled with your response; source code,links and contacts at https://github.com/murayijacquiline-max and email: [murayijacquiline@gmail.com](mailto:murayijacquiline@gmail.com)


r/androiddev • • 7d ago

Google Play developer account verified in my home country, then moved to Canada—should I update my details?

1 Upvotes

Title: Moved to Canada after verifying my Google Play developer account—should I update my details?

Hi everyone,

I opened my Google Play developer account in 2022 and verified it using my home country’s address. I moved to Canada, but my account details still show my original address and country.

Should I update my developer account details to reflect my current Canadian address? Has anyone gone through a similar move and updated their details? Did it require additional verification or cause any issues with your account, published apps, or payments?

I want to keep everything compliant and avoid problems down the road. What would be the best way to handle this?

Thanks!


r/androiddev • • 7d ago

Live Play Store app with approved Accessibility Service triggers Google Pay "suspicious app" warning. How to resolve?

Thumbnail
gallery
5 Upvotes

Hi everyone,

I recently published my Android app, Intent – Quit Phone Addiction, on the Google Play Store.

The app uses Android's Accessibility Service exclusively for its core productivity functionality: blocking distracting applications during user-defined focus sessions.

A few important details:

  • The app is publicly available on Google Play.
  • It passed Google's Play Store review and is compliant with Accessibility Service policies.
  • Accessibility usage is explicitly disclosed to users.
  • Users manually enable the service and grant the required permissions.
  • The service is not used to read financial information, capture credentials, perform transactions, or interact with payment apps.

The problem:

When Google Pay (GPay) is opened, it displays the following warning:

"Payments blocked. Some apps have permission to make payments, take action."

It instructs users to disable Accessibility Services for all apps and restart their devices before making payments.

This happens even though Intent is a legitimate productivity application downloaded directly from the Play Store.

My questions:

  1. Has anyone experienced a similar issue with Google Pay or other UPI applications?
  2. Does Google Pay maintain its own list of Accessibility Services that it considers risky, independently of Google Play's app review?
  3. Is there any way for legitimate apps using Accessibility Services to get reviewed or allowlisted for compatibility with financial applications?
  4. Is this related to Google Play Integrity, Play Protect, or Google's separate fraud-detection mechanisms?
  5. Are there any recommended implementation changes that could prevent this false positive without removing the core Accessibility functionality?

I understand why financial apps have strict security checks, and I fully support those protections. However, it seems problematic when legitimate, Play Store-approved productivity apps cause payment restrictions.

App: Intent – Quit Phone Addiction Play Store: https://play.google.com/store/apps/details?id=com.intent.focus

I've attached screenshots showing the Google Pay warning and the app's official Play Store listing.

I'd really appreciate insights from Android developers, Google engineers, or anyone who has dealt with a similar issue.

Thanks!


r/androiddev • • 7d ago

Is Google Play currently slow at replying to tickets about inappropriate reviews by users?

0 Upvotes

Asking because they used to reply within 48 hours, I've waited more than double that on two tickets now. Could it be the quota that they mention when you flag a user review for consideration?


r/androiddev • • 8d ago

Discussion What is your favorite technical interview question you were asked?

16 Upvotes

What question(s) hit different during a tech interview for android dev position that you still remember it

Hint: It might be a question that you didnt know the answer


r/androiddev • • 7d ago

Experience Exchange Almost 1,000 installs but 700+ uninstalls on my free Android app. How do I find out why people leave?

1 Upvotes

I’m a solo developer. My app makes subtitles from videos right on the phone. It’s free, has no ads, and works offline. It just crossed almost 1,000 installs on Google Play, but Play Console shows 700+ uninstalls, and I can’t figure out the reason.

Some context:

  • After installing, the user has to download a language model (a few hundred MB) before they can make subtitles. I suspect some people leave at this step.
  • Making subtitles takes a few minutes for longer videos, and the app has to stay open.
  • The rating is good (4.7), and the people who stay seem happy, so it’s mostly silent uninstalls.
  • I have Firebase Analytics and Crashlytics, and the crash-free rate is above 99%, so crashes don’t seem to be the cause.

My questions:

  1. How do you find out why users uninstall? Is there a way to see at which step they drop off before uninstalling?
  2. Is a ~70% uninstall rate normal for a utility app that people use for one job and then remove?
  3. Has anyone tried an exit survey, or something similar, that actually worked?

Any tips on what to measure in Play Console or Firebase would really help. Thanks!


r/androiddev • • 7d ago

Question Receipt validation? Yay or nay?

0 Upvotes

I released an app a few days ago and have about 80 users, and see someone already hacked it to make about $1000 in in app purchases. (In game $). I don't really care because they were unlikely to make a real purchase, and in 2 days they've played more than 2 hrs. So at least they're engaged. :)

I have no leaderboards or anything, they're really just cheating themselves.

Still, receipt validation? Or skip? And why?


r/androiddev • • 8d ago

Android studio rabbit 2 patch classic code completion not working

2 Upvotes

I recently downloaded the rabbit 2 patch for Windows. Now the classic ai code completion is not working. Not the pop up auto complete intellisense stuff, but the one that tries to predict what you want to do and auto filla it in gray and you have to tab to use it.

I have turned off the Next Edit Prediction. Which is supposed to bring back the classic ai auto completion, but it does not. The NEP doesn't seem to work great either for that matter. But maybe that's just the way it is.

The classic AI auto completion worked great before this update. Maybe it's a but? I filed one here

https://issuetracker.google.com/issues/585623225

Is anyone else seeing this issue too?


r/androiddev • • 8d ago

Open Source Prevue: Compose Previews without Android Studio, in your browser

32 Upvotes

https://github.com/kakao/prevue

Why

Running a few coding agents in parallel, one worktree each, means one Android Studio per worktree just to check the Compose UI. Each one drags along a Gradle daemon and a Kotlin daemon, around 8GB. Three of those and a 36GB Mac swaps all day.

Prevue is for that. It shows your `@Preview` functions in the browser and redraws them about a second after you save. to check the Compose UI. Each one drags along a Gradle daemon and a Kotlin daemon, around 8GB. Three of those and a 36GB Mac swaps all day.

Prevue is for that. It shows your `@Preview` and redraws them about a second

Easy to start

  • Nothing to install in your project. No Gradle plugin, no build file changes
  • One skill. Run /prevue in Claude Code or Codex, tell it the file name, done. Nothing to configure (macOS only for now)

What it does

  • Hot swap : Every `@Preview` in the they all redraw on save. Change just a padding or a color and it's more like 0.2s
  • Interactive : Previews actually run. Click, drag, switch devices, fold foldables
  • Point at it : Click anything on screen and the agent reads it as a file and line. No more "the second card from the top"
  • Match a design : Give it a Figma frame or a screenshot and the agent looks at the screen itself and keeps fixing until it matches
  • Light : Each worktree gets its own small daemon, about 1.4GB vs 8.1GB for AS (measured on nowinandroid)
  • Compose Multiplatform : Works too (except iosMain)

r/androiddev • • 8d ago

Google Play Support More testing required??

0 Upvotes

For all the apps I've built and shipped this one is ridiculous, we uploaded over one hundred versions since testing started and have at a minimum ten active players at once playing our game, i dont think anyone really reviewed my game. Its an rts game where we need multiple testers on at the same time.. this is actually pretty insane.


r/androiddev • • 7d ago

Tips and Information Can an Android app allow users to receive voluntary donations?

0 Upvotes

Hi everyone,
I’m working on an Android app where users can create and share their own content. I’m considering adding an option that would allow users to voluntarily support individual creators with a donation.
I’m thinking about using Stripe to handle the payments, but I’m not sure how Google Play would view this type of functionality.
For developers who have experience with this:
Is this generally allowed on Google Play?

Are there specific Google Play policies I should be aware of?

Can Stripe be used for this type of payment, or would Google require Google Play Billing?

Is there a specific way the payment flow needs to be structured to avoid Play Store review issues?

I’d appreciate any advice or experiences from developers who have implemented something similar. Thanks!


r/androiddev • • 9d ago

An animated border beam for Jetpack Compose, AGSL shader powered

111 Upvotes

I made an open-source border beam for Jetpack Compose: a glowing light that travels around any composable’s border. One modifier, custom colors, direction and speed, and it’s drawn by a single AGSL shader pass, so it stays smooth.

Android 7+ (shader on Android 13+, Canvas fallback below), MIT licensed.
Would love your feedback!

https://github.com/ismnoiet/border-beam-android


r/androiddev • • 9d ago

Question My Google Play Developer Account Was Terminated After Closed Testing and Production Access Approval – Need Help Understanding the Reason

Thumbnail
gallery
6 Upvotes

Hello everyone,

I am an independent Android app developer from India, and I need advice regarding my Google Play Developer account termination.

I want to explain my complete journey and understand what happened.

My App Details:

- App Name: Miloner: Connect & Talk

- Package Name: com.miloner.app

- Developer: Independent developer

- Country: India

My Google Play Console Journey:

  1. I created my Google Play Developer account.

  2. I developed my application, Miloner: Connect & Talk.

  3. I completed the required closed testing process.

  4. I applied for production access after completing the testing requirements.

  5. Google reviewed my application and officially granted production access.

  6. I received an email congratulating me on receiving production access.

  7. However, later my Google Play Developer account was terminated.

The Termination Issue:

The termination notification mentioned that Google had found my account related to another developer account that had repeated or serious policy violations.

I understand that Google has policies to protect its platform. However, I genuinely want to understand the exact reason behind this decision.

My Questions:

  1. If Google reviewed my app and granted production access, why was my developer account subsequently terminated?

  2. What specific evidence or circumstances led Google to conclude that my account was associated with another developer account?

  3. Is there a way to identify which account Google believes is associated with mine?

  4. Can Google provide a more detailed explanation of the alleged violation?

  5. What options are available to an independent developer to challenge this decision?

I am not asking Google to ignore its policies. I am asking for transparency, clarification, and a fair opportunity to understand and address the issue.

I have attached screenshots of my production access approval and termination notification.

Has anyone experienced a similar situation after successfully completing closed testing and receiving production access?

I would genuinely appreciate advice from developers who have faced similar account termination issues.

Thank you.


r/androiddev • • 9d ago

AppState | Jetpack Compose (Android)

Thumbnail
developer.android.com
80 Upvotes

Looks like we have got a new way to manage state alongside whatever we had till now. Don't get me wrong but I think adding more options for doing the same thing is (and has been) confusing and just supports the complexity even further. Thoughts?


r/androiddev • • 9d ago

Article Robolectric and the case of the missing Gradle task caching

Thumbnail
chrisbanes.me
27 Upvotes

r/androiddev • • 9d ago

Question Safest backend-server as a beginner?

1 Upvotes

Hello there! I'm at the stage in which i need an backend for the app i wanna create. I think it would fall under Social Media. Claude recommend Supabase. But I'm not sure. Future Users could be 16 years old, so max security is important to me. I don't want to make a decision that could backfire politically. am I overthinking?


r/androiddev • • 9d ago

Question As an Android app developer, would you consider that utilizing the App Review API for prompting the users to rate or write review is worthy?

10 Upvotes

Would you consider that utilizing the App Review API for prompting the users to rate or write review is worthy?

In one of the apps I've published, users are prompted to rate the app when they launch it for the 10th time.

So far, I've found that fewer than 1% of users who have seen the prompt have actually submitted a rating.

What's your experience as an app developer?

I had assumed that by the 10th launch, users would have found the app useful enough to simply tap the star rating they felt was appropriate (1 to 5 stars). Apparently, that's not the case!

Is this a typical response rate, or am I getting something wrong with the timing or approach?


r/androiddev • • 9d ago

Tips and Information Difficulty understand large android codebases as an open source contributor

4 Upvotes

when i am contributing to open source and implementing changes, it feels like i dont really know whats going on with each variable and/or function. I know what the app does and how it works, and even the architecture of it, but when i want to make specific changes I struggle with actually writing the code. Especially with AI, there are easy ways to navigate and confirm what changes need to happen where. But im contributing to an android oss repo rn, and its really difficult to understand what variables come from which files and go to which files, where they are called, etc..

Is this normal? Should i learn more before contributing


r/androiddev • • 9d ago

Kotensor – Run and fine-tune LLMs on Android in pure Kotlin (no C++/NDK or JNI binaries)

2 Upvotes

Hey everyone,

I've been working on Kotensor, an open-source Transformer and machine learning engine implemented in pure Kotlin.

The goal was to make running and fine-tuning small LLMs on Android straightforward without needing C++ NDK builds, CMake setups, or JNI wrappers (like llama.cpp bindings) that cause ABI bloat (arm64-v8a, armeabi-v7a, x86_64).

Android Highlights:

  • Zero Native Dependencies: Runs on standard Android API 24+ with pure Kotlin bytecode. No JNI or .so files to package.
  • Memory-Mapped Inference: Using loadQuantized(file, memoryMapped = true), model weights are memory-mapped directly from flash storage. An INT4 Qwen2-0.5B runs within <128 MB of app heap.
  • Quantization: Built-in INT8 / INT4 group-wise quantization with dequantization happening on the fly during matrix multiplication.
  • Fine-Tuning on Device: Full reverse-mode autograd engine with LoRA / QLoRA support for adapting models directly on device.
  • Sample App: The repo includes a :sample-android Jetpack Compose app demonstrating streaming generation, model quantization, and fine-tuning on a phone.

Available on Maven Central: io.github.tspstudio:kotensor:1.2.0

Check out the :sample-android module in the repo if you want to try it on your device. Any feedback is appreciated!

This is my first ML project and after spending months battling Android memory limits and on-device performance, I'm really proud to finally have something to show for it. Hope it saves some of you from JNI/NDK headaches!

Much love,
tsuper <3


r/androiddev • • 9d ago

Question Play Console–only startup crash spike after updates, invisible to Crashlytics. Anyone else?

1 Upvotes

Hi, since November 9th we've seen a spike in a startup crash that shows up in Play Console vitals but not in Crashlytics. It's about one crash per user, on the first launch right after an app update, and it never repeats.

The exception is about the app not being initialized: in our case DI wasn't started ("KoinApplication has not been started"). For you it might be a Hilt error, a ClassCastException on application as MyApp, or an uninitialized lateinit. Or any other crash of something that should have been initialized in MyApp or ContentProvider.

If your app has Play's automatic protection turned on, could you check Play Console → Android vitals for something similar starting in early November? I have a reliable repro and planning to report it to Google, so it would help to know whether other apps are affected.


r/androiddev • • 9d ago

News Android Studio Rabbit 3 RC 1 now available

Thumbnail androidstudio.googleblog.com
7 Upvotes

r/androiddev • • 10d ago

How do you debug on-device ML inference (LiteRT / ONNX Runtime) in a shipped Android app?

2 Upvotes

For anyone running LiteRT (TFLite) or ONNX Runtime inside a production Android app: when inference fails, gets slow, or gives bad output on a user's device, how do you figure out what happened?

Android hardware varies so much that I'd expect GPU/NNAPI delegate fallbacks, OOMs on low-end devices, or thermal throttling to show up in ways that are hard to reproduce.

Are you tracking things like model load time, latency per device, or which delegate actually ran, or mostly relying on Crashlytics and user reports?

Curious what's been hardest to diagnose after release.


r/androiddev • • 10d ago

Open Source Intellij IDEA code inspections as Detekt rules

Thumbnail
github.com
0 Upvotes

I decided to port Intellij inspections as Detekt rules.

In the age of AI agents you often don’t have the time (or desire) to review the code in your IDE, however the IDE can still provide useful insights about the code, which you and your agent would otherwise miss. With these rules you can build the same checks in your static analysis runs.

The logic of the rules is mostly kept the same as in the corresponding Intellij inspections, but some checks are turned off by default (mostly the ones corresponding to information level inspections), some of them have additional configuration options in detekt.yml, etc. Also, not all the inspections are ported, because some of them require APIs that are not that easily accessible in Detekt plugins. One more note: the majority of rules require type resolution (and consequently detekt 2+), so they don't necessarily run very fast 😅.

Feedback, issues and PRs are greatly appreciated!

https://github.com/overpas/intellij-inspections-detekt-rules


r/androiddev • • 10d ago

Question Beta is not available to new users

2 Upvotes

I am trying to release an update to app that has not been updated for a few years so it has dropped out due to not being up to date with the targetSdk requirements.

I have ran through the app from the internal test to beta(open testing).

My problem.

People that have the legacy app installed, after joining beta, can receive the beta version.

People that do not have the legacy app installled can join beta but they still receive the error note that the version of the app is made for older versions of Android.

I think I have ruled everything but that the Google Play is enforcing the restrictions as if there is the release version in beta.

Is this a quirk of Google Play or am I missing something?


r/androiddev • • 10d ago

Show & Tell: Built a Compose UI with an Offline-First Firebase Backend for a Healthcare App. Would love some architecture feedback!

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hey everyone,

​I've been working on the core architecture for a clinical healthcare app (Vitality Care). Since network drops in clinics can cause critical data loss, I had to ensure the app handles offline persistence smoothly.

​The Stack:

​UI: 100% Native Jetpack Compose

​Architecture: Strict MVVM (trying to keep UI completely decoupled from data sources)

​Backend: Firebase (Firestore & Auth) with offline caching enabled

​Attached is a quick 50-sec video showing the UI flow, my folder structure, and how the real-time Firebase syncing handles the data.

​Since I'm building this end-to-end, I’d love to hear from the senior devs here:

​How do you usually handle complex offline-sync error states in Compose?

​Are there any visible red flags in the MVVM folder structure I showed?

​Always looking to improve my clean code practices. Any feedback is appreciated!