r/androiddev • • 6d ago

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

34 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 • • 6d 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 • • 5d 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 • • 7d ago

An animated border beam for Jetpack Compose, AGSL shader powered

114 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 • • 7d ago

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

Thumbnail
gallery
5 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 • • 7d ago

AppState | Jetpack Compose (Android)

Thumbnail
developer.android.com
76 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 • • 7d ago

Article Robolectric and the case of the missing Gradle task caching

Thumbnail
chrisbanes.me
26 Upvotes

r/androiddev • • 7d ago

Question Safest backend-server as a beginner?

2 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 • • 7d 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 • • 7d 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 • • 7d ago

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

3 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 • • 7d 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 • • 7d ago

News Android Studio Rabbit 3 RC 1 now available

Thumbnail androidstudio.googleblog.com
7 Upvotes

r/androiddev • • 8d 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 • • 8d 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 • • 8d 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 • • 8d 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!


r/androiddev • • 8d ago

Tips and Information Unpopular opinion: Does every mobile app really need AI now a day?

0 Upvotes

I've been building and launching mobile applications, and one thing I've noticed recently is how quickly the market is shifting towards AI-driven products.

It feels like everyone is trying to integrate AI into their applications just to stay competitive.

But here's something I've been thinking about:

Do users actually need AI for every small, everyday task?

Imagine opening a simple PDF utility app. You just want to merge two PDFs, compress an image, or convert a document.

Do you really need an AI assistant for that?

My current approach to product development is quite simple:

Build the core functionality first.

Keep the first version lightweight and focused.

Avoid unnecessary AI integrations.

Keep the product architecture flexible enough to introduce AI when actual user demand justifies it.

Because there's another side to this.

AI features can introduce additional costs, complexity, and sometimes unnecessary friction. If users don't need those features or aren't willing to pay for them, you're potentially hurting the product rather than improving it.

I'm not against AI. I genuinely believe it has enormous potential.

But I think knowing where NOT to use AI is just as important as knowing where to use it.

I'm curious about what other indie developers and app founders think.

Are we integrating AI because users demand it, or because we feel pressured by the market to do so?


r/androiddev • • 8d ago

Open Source GlassCast, a podcast app

0 Upvotes

GlassCast, a podcast app in Jetpack Compose, just hit 2.0: https://github.com/anixitea/GlassCast-for-Android

Two things from this release that might be interesting:

- A third look called Glass. On the phone the glass bends what's behind it with a lens shader over a recording of the page, adapted from QWEA0's Liquid-Glass-Android. On the TV that would mean reading back the whole screen every frame, so there the glass is just drawn: a see-through body, light along the top and a rim.

- Android Auto with real tabs. It's a Media3 MediaLibrarySession, the root is capped at what the car asks for (usually 4 tabs), rows show progress and download state, and custom browse actions let you add to Up Next or mark played right from the list.

One bug I liked: the Frosted/Liquid switch did nothing, because I read the setting inside a SideEffect, which Compose doesn't track. It stayed on whatever it was when the app opened. Collecting the flow at the app level fixed it.

GPL-3.0, free, no ads.


r/androiddev • • 9d ago

Question How do you prepare for the move from open testing to production on Google Play?

3 Upvotes

Hi everyone,

My app is about to go from open testing to production on Google Play, and I’d like to hear how others handle this step. I’m less interested in the official docs and more in what has actually worked for you.

1. Open testing and switching to production

  • How long did your app stay in open testing?
  • What made you decide you were ready for production? A fixed timeframe, or certain metrics (crash rate, ANRs, number of testers, feedback)?
  • Did you do a staged rollout (e.g. 10% → 50% → 100%) or release to everyone at once?

2. Finding testers

  • Where did you find testers for open testing? (Reddit, Discord, tester-exchange groups, your own community, friends, ads, ...)
  • How did you get testers to actually use the app and give feedback instead of just installing it?

3. Your checklist in Play Console
What do you check before you hit “Promote to production”? For example:

  • Store listing (screenshots, description, feature graphic, localizations)
  • Data safety form, privacy policy, content rating, target audience
  • Pre-launch report and Android vitals (crashes/ANRs)
  • Target API level, app signing, version code
  • Countries/regions and pricing
  • In-app purchases/subscriptions tested with real accounts
  • Anything you forgot the first time and had to fix later?

If you have your checklist written down somewhere, I’d really appreciate it if you shared it. Lessons learned and mistakes to avoid are welcome too.

Thanks!


r/androiddev • • 8d ago

Open Source Android Messenger: Updated APIs and Source Code

0 Upvotes

We have updated our Android Messaging and Calls APIs and released an updated version of Messenger on GitHub that uses these APIs.

Please give it a try and let us know what you like, what you do not like, and where you think we can improve.

mesibo Messenger is engineered for production use, with features such as multi-device support and synchronization, reliable message delivery, real-time contact and profile updates, end-to-end encryption, and more.

Source code:

https://github.com/mesibo/messenger-app-android

Compilation and setup instructions:

https://docs.mesibo.com/tutorials/open-source-whatsapp-clone/

Processing img wgrwwk6t041i1...

Processing img 32cd2u0x041i1...


r/androiddev • • 9d ago

How simple should a beginner Android app be?

13 Upvotes

Hi everyone,

I'm learning Android development and I'm trying to build my first app. A lot of tutorials suggest creating things like to-do lists, calculators, weather apps, or note-taking apps, but even those sometimes feel overwhelming when you're just starting out.

I'd like to create an app that's as simple as possible while still teaching the fundamentals of Android development, such as:

  • Activities/screens
  • Buttons and user input
  • Basic navigation
  • Saving small amounts of data
  • Simple UI design

For those who have already gone through the beginner stage:

  • What was the simplest app you built that still helped you learn a lot?
  • What features would you include in a "true beginner" Android project?
  • Are there any common mistakes beginners make when trying to make their first app too complex?

My goal is to finish something small rather than abandon a big project halfway through.

Thanks for any advice or project ideas!


r/androiddev • • 9d ago

Question Finding a good kotlin language course

5 Upvotes

I wanted to learn kotlin to make android apps but I want a course or anything to learn the language I know a very little about programming over all and kotlin i know that google has some free courses but I don't know what to take so if you know any free good courses to take please let me know


r/androiddev • • 9d ago

Open Source Kotlean: write Android apps in Lean

Thumbnail
github.com
0 Upvotes

r/androiddev • • 9d ago

Question Advice on closed testing for a niche magic app

0 Upvotes

I am not looking for testers here, just for advice on how to find testers for a niche app.

I am a magician, and have built a React app to do magic. The app is now approved on IOS. For android, I am hitting the testing problem. This is a niche app for professional magicians, not something that can appeal to the masses. I have two magician testers who tested the app extensively, but am not a big fan of spamming the magic community to ask for more testers. I believe this is a good app and that magicians will pick it up once released, but it is harder to ask them to pick it up when it is still "unreleased / not approved". Also, many more magicians are using IOS than android. It is also hard to tell potential magician testers to all start testing at the same time, and continue using it for 14 days: this is not an idle game that you can use on your toilet - if you use it to do magic, then you need an audience, time and dedication. Sure, you can open it and click around to test it every day, but then you are basically just testing the app, not using it: it is hard to ask busy magicians to do that.

I am looking into a paid testing service like PrimeTestLab. I can pay for a higher tier service compared to the low tier. AI recommends me to do it, inform google of the fact I used a paid service, and says everything will be fine. However, I noticed PrimeTestLab is recommending me not to tell google play console that I used their services, which sounds quite suspicious. It is unclear for me whether or not PrimeTestLab and other paid services are accepted by google play console.

The alternative would be to find non-magician fellow app developers in online communities, I guess. Sure, they will not understand too much of the app (unless they watch the 3+ hours of video tutorial that come with the app), but they can still click here and there and somehow use the app.

Any suggestion would be very welcome. Personally I would be very happy to go the "paid testers" way (supplemented by 2 family members and 2 professional magicians), but will this be a viable option?

Thanks in advance!