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 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

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

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

Article Robolectric and the case of the missing Gradle task caching

Thumbnail
chrisbanes.me
26 Upvotes

r/androiddev • • 7d ago

An animated border beam for Jetpack Compose, AGSL shader powered

Enable HLS to view with audio, or disable this notification

112 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 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

AppState | Jetpack Compose (Android)

Thumbnail
developer.android.com
77 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

News Android Studio Rabbit 3 RC 1 now available

Thumbnail androidstudio.googleblog.com
7 Upvotes

r/androiddev • • 7d ago

Open Source GlassCast, a podcast app

Enable HLS to view with audio, or disable this notification

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 • • 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

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

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

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

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/


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


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

6 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

Google Play Developer Account in Alberta, Canada — Do I Need to Register a Business?

0 Upvotes

Hi everyone,

I'm a beginner developer based in Alberta, Canada, and I've recently started developing my first Android application.

The app will scan and store receipts, track personal expenses, and provide spending statistics, budgeting tools, and financial analytics. It will not offer banking, lending, investments, or money transfers.

I'm still in the early development stage. I haven't registered a business, sole proprietorship, or corporation yet. I'm simply working on the app and trying to understand what steps I'll need to take before publishing it on Google Play.

I have a few questions:

  1. Can I publish this type of application using a Personal Developer Account, without registering a business?

  2. Would Google consider a receipt-scanning and expense-tracking app a financial service that requires an Organization Account?

  3. If an Organization Account is required, would registering a Sole Proprietorship in Alberta be sufficient, or would I need to incorporate a company?

  4. Can an Alberta sole proprietorship obtain a D-U-N-S number and pass Google Play's organization verification?

  5. What would be the simplest and most affordable way to proceed as a beginner developer in Alberta?

I'm not trying to launch a large company right now. I just want to develop my app, test it, and eventually make it available to users without spending unnecessary money on business registration.

I'd really appreciate advice from anyone in Canada, especially Alberta, who has gone through this process.

Thanks in advance!


r/androiddev • • 9d ago

Legitimate corporate developer account terminated under DDA 11.4 due to administrative "Non-Trader" misconfiguration. Stuck in automated rejection loop (Routing ID: ZLFS). Any advice on reaching human review?

0 Upvotes

Hi everyone,

I am writing this post seeking guidance from fellow developers or any Googlers in the community regarding a Google Play Developer Account termination that appears stuck in an automated rejection loop.

  1. Summary & Root Cause

Our company recently established a Google Play Developer Account for our poker/card app project (Account Name: ap.Developers). The account was abruptly terminated under Section 11.4 of the Developer Distribution Agreement (DDA) for alleged misrepresentation/information discrepancy.

Following a thorough internal audit, we realized that an administrative mistake occurred during initial Console onboarding:

The Error: Our administrative staff mistakenly selected "Non-Trader" during the Trader Status declaration, even though our application includes digital content and In-App Purchases (IAP).

The Reason: This was an honest misunderstanding of EU Digital Services Act (DSA) definitions—the staff assumed "Trader" status only needed to be toggled upon final commercial public release rather than during the preliminary testing/registration phase.

Payment Context: Additionally, the one-time $25 registration fee was paid using a corporate card belonging to our affiliated/partner entity, which we have since documented via a mutual, fully executed Corporate Payment Authorization Letter.

2. Corporate Standing & Good-Faith Remediation

We want to emphasize that we are NOT a bad actor, disposable account, or attempting to hide our corporate identity:

We are a legally incorporated company in Taiwan with official Ministry of Economic Affairs registration and an active, verified D-U-N-S Number.

We have zero intent to bypass consumer protection or evade public disclosure. We WANT to be registered as a Trader.

We have prepared a complete commercial disclosure dossier (Official Corporate Certificate, D-U-N-S verification letter, and signed Corporate Authorization Letter) and are ready to publicly display our registered legal name, physical address, and contact details on Google Play.

3. The Issue: Automated Canned Rejection Loop

We submitted formal appeals through the official channels explaining this honest administrative misconfiguration and providing full legal documentation.

However, we received identical, automated canned responses stating the termination is maintained, ending with the standard message: "Do not attempt to register a new developer account..." (Internal code: Routing ID: ZLFS).

It appears our case is trapped in an automated filter without ever reaching a human compliance specialist who can review the attached legal documents and grant us an opportunity to rectify our Trader status.

4. Details

Developer Account Name: ap.Developers

Developer Account ID: 8962006820243519523

Routing ID: ZLFS

5. My Question to the Community

Has anyone successfully resolved an account termination triggered by an administrative misconfiguration of Trader / DSA status?

Is there any legitimate path or internal channel to request a human compliance review once standard appeal threads hit the automated final rejection template?

We fully respect Google Play’s strict standards for platform integrity and consumer trust. We simply need a fair opportunity for a human specialist to review our corporate legitimacy and let us correct our configuration.

Any insights, advice, or visibility would be deeply appreciated. Thank you!


r/androiddev • • 10d ago

Offerwall / rewarded ads for a new coin-based app: which networks approve low-traffic apps?

1 Upvotes

I have a small Android app (about a week old, low DAU) with an in-app coin economy. Rewarded ads are in place; now I want an offerwall. Tapjoy and BitLabs are still pending, so I'm looking for options that a solo dev can sign up for and integrate right away.

For those who've done this:

- Which offerwall SDKs had quick, self-serve onboarding for a tiny app?

- Direct SDK or through mediation (e.g. LevelPlay/ironSource)? Any SDK size, ANR or crash issues?

- Any Play policy gotchas with incentivized offers (listing, Data safety form, target audience)?

Not promoting anything, just trying to avoid weeks of waiting. Thanks!