Stay up-to-date with latest news on Android Development! Content directly fetched from the subreddit just for you. Powered by : @r_channels
I made a gradle task but it has a bug
I've been working on a small Gradle task (GitHub link) that organizes APKs after they're built. By default, Android Studio generates APKs inside the build directory, so I wrote a script that copies the generated APK to a different folder and renames it to include details like:
Package name
Version name & version code
Git branch name
Timestamp
This makes it easier to manage builds. The script works fine, but there's one annoying i...
https://redd.it/1j2jyus
@reddit_androiddev
Background location not working for Samsung Devices running Android 14
I just wanted to share the issue that I am observing in case someone knows what is going on: I work on an app that is used to ensure the welfare of filed workers when they are performing certain tasks. As such, it makes use of background location tracking in case a user is unresponsive and needs to be located, for example.
We went through all the formalities to get Google to approve our use of background location and we are quite familiar with all the factors that can prevent our app from gett...
https://redd.it/1j23y1o
@reddit_androiddev
Android studio process uses 15 gb on Macbook M2
I've never had any issues with memory on 16GB macbooks until I switched to compose this week. The memory consumption is through the roof. Emulator is using extra 3-8 GB of RAM.
I've never had lags even when running 2 emulators, but with compose the lag is constant.
Does anyone know how to fix this?...
https://redd.it/1j216pu
@reddit_androiddev
Google Play Console is a joke
Last march me and few of my friends have taken part at a hackaton with the topic of creating a solution for elderly people. And we won the first place, so we had to develop an app and we'll get some money as funding for our project. The project/product management part was easy, the development part was ok (we were very unskilled at that time, made lots of mistakes which we fixed now) and now it came to the time to make the app available to the public.
1. Creating a google account - took me A MO...
https://redd.it/1j1nu2z
@reddit_androiddev
How to share a Closed Testing build?
This is my first Android app, having trouble getting it through the Play Store.
I did Private Testing with \~15 folks, went fine.
I moved to Closed Testing, but no-one (on the same testers list as the private tests) can get to the app. The "sharable link" gives a 404. How can I tell my testers to get the closed test build?...
https://redd.it/1j1562s
@reddit_androiddev
Root protection advice
At work we got a pen test complaining about not having root protection and that can compromise our data base. Currently we use proguard/R8.
The pen test company suggested to use root beer, appdome or similar.
Our company discarded the paid ones. I think they are the most secure but the signing process is a pain.
I found the Google integrity library but I think this would require some back end work and company is short on BE.
In the past I have used some 3rd party signatures and they made the ...
https://redd.it/1j10ymf
@reddit_androiddev
Transfer app from organization to individual developer account
Hi guys,
I have launched my app on play store, through my organization developer account, google confirmed and app is in production and it has like 10 downloads for now (app is free). Now I want to transfer the app from my organization account to individual developer account (both of them are active), as I need to shut down my agency, so I have few questions:
1. Is it allowed to move the app from organization account to individual?
2. Will they ask for those 12testers and 14days of testi...
https://redd.it/1j04mcu
@reddit_androiddev
Is it wise to remove Login from published app?
One of my successful app is related to workout tracking.
I often get user reviews to remove Login and Registration.
I am in dilemma to keep it or remove it. It will be a huge task to remove Login/registration. If published, It might break the functionality of the older versions.
Please give you suggestions.
...
https://redd.it/1j044ry
@reddit_androiddev
Android Studio Meerkat Feature Drop | 2024.3.2 Canary 7 now available
https://androidstudio.googleblog.com/2025/02/android-studio-meerkat-feature-drop_27.html
https://redd.it/1izubyr
@reddit_androiddev
How to avoid health app to be rejected due to individual account?
Hey guys,
I'm making a app where people can log their pain levels 1-10 and see a graph over it over time.
I see that Google says you have to be a organizational account to publish health apps. Does that apply to ALL health apps?
Or are there only a selection of these boxes that makes app get rejected?
https://preview.redd.it/goag2rukhrle1.png?width=1380&format=png&auto=webp&s=e516a5d665daacbf826545b6eb1b0c4f43f3d596
...
https://redd.it/1izt1i4
@reddit_androiddev
UI test execution in parallel using Shards
mohamedfotouhshalan/accelerating-android-ui-testing-through-parallelization-da40dc03fdb2" rel="nofollow">https://medium.com/@mohamedfotouhshalan/accelerating-android-ui-testing-through-parallelization-da40dc03fdb2
https://redd.it/1izq95j
@reddit_androiddev
How do you synchronize on strings ids between platforms?
I'm working on an app that exists on both iOS and Android and is translated to over 10 different languages. Aligning on string id's between the platform teams is a small nightmare.
Platforms don't align on which id to use so they are duplicated, some reuse the same string id in multiple places causing issue when it is later only changed in a single place. We also have loads of unused strings from UI that no longer exists in the app.
Is there any smart way of handling this? Any tools or estab...
https://redd.it/1izkv22
@reddit_androiddev
Having problems with installation
I am running Trying to install an app on my device (running a ported android 15 rom ,rooted with magisk), I thought of copying the app directly to the data/app directory but the package name etc hash based directory naming is something I am unable to fathom, is there anyway I can install this app or is there anyway to force install apps on Android (without using adb, I tried adb it's not working)...
https://redd.it/1izgxeb
@reddit_androiddev
HELP! My full name and address is being published on the Playstore and I can't remove it
Today I received a message that all my apps were being removed from the playstore because I didn't verify my name and address. I then provided pictures of my drivers license in order to get verified and have my apps reinstated but it's now showing my full legal name and address...So I immediately unpublished all my apps but it's still visible from the "App Support" page. I have no intentions of adding my apps to the playstore again as they were all open source and I didn't make any money, but I ...
https://redd.it/1izezls
@reddit_androiddev
Can anyone tell me why everything is reduced to ellipses in despite the width of the panel?
https://redd.it/1iz25kg
@reddit_androiddev
How is the IP subnet for Wi-Fi hotspot chosen on Android?
I am using the Wi-Fi hotspot on my (quite new) mobile phone and I am observing, that the IP subnet for the hotspot is 192.168.x.0/24 with x randomly chosen, but constant - the value of x is the same every time I start the hotspot (at least up to now).
Last time I tried this on another phone, x was NOT constant, changed every time when I started the hotspot.
Does this depend on the Android version or some configuration or whatever? I am using Android 14 on my phone.
I tried to look up the code...
https://redd.it/1j2b0n8
@reddit_androiddev
Fleet vs Android Studio with KMP
Does anyone use Jetbrains Fleet to create projects in Kotlin Multiplatform? What does it look like now and what is the difference between Fleet and Android Studio. Does it take less computer resources, anything else missing?...
https://redd.it/1j202pj
@reddit_androiddev
Decompile Hotstar
Hi,
Will decompiling hotstar app provide me the list of domain or IP used by this app? I am trying to find the domains to create a routing rule?...
https://redd.it/1j1qqxz
@reddit_androiddev
Method to implement serverless IAP?
The logic behind a server is security (harder to spoof) and transferrability (user can redownload a paid for item if they uninstall/reinstall the app eg. one time purchase in which a user removes ad from the app).
1. If I was willing to forgo security and transferrability (so long as users were clear the item only exists for that copy of the app), is IAP possible? The billing guide from google does not make it clear it can be skipped because I would still need to receive the real time notifica...
https://redd.it/1j1e64m
@reddit_androiddev
Is there any need for constraint layout in Compose?
Are there any problems it solves which can not be solved by Compose components such as Rows and Columns, etc? Are people really using Constraint layout in Compose?
Asking as new Compose learner....
https://redd.it/1j0xrqx
@reddit_androiddev
Good resources to learn testing?
I'm trying to find good resources to learn testing (unit test, integration, end-to-end, and compose UI testing) but I can't seem to find anything that's either well explained or not 5+ years old. Is there any resources you would recommend?
Thanks! ...
https://redd.it/1j0ctqw
@reddit_androiddev
This app has fewer users compared to others on play
Launched an app on Play Store. It's been up for less than a year and have \~50 users.
Today I noticed this warning after uninstalling & re-installing. I have a feeling this make new users hesitate to install the app, at the very least.
I kinda understand other warnings - e.g. "This app is uninstalled more frequently than others". But what's up with this one? Who's it meant to help? Feels like it's doing more damage than good, through no fault of my own. Pretty bummed :/...
https://redd.it/1j04jt9
@reddit_androiddev
Best Approach for Database Structure in a Multi-Module Android App?
I'm working on a modularized Android app with a structure similar to the one in the attached image. Each feature module depends on its respective data module, and the data layer follows a repository pattern.
A question that has come up is whether I should:
1. Have a separate Room database instance for each data module (e.g., data:books
, data:reviews
, data:payments
each managing their own DB).
2. Use a single shared Room database that all data modules interact with.
I'm aiming fo...
https://redd.it/1izym8f
@reddit_androiddev
What open source project do you contribute to?
After watching the below video twice, I started looking into open source, and I have to say I am kinda hooked. Not only about the code, but the communities, the issues. It feels way closer to what we fell it love with, when many of us started android.
So, I wanted to see if anyone here has any open source projects that likes to contribute to
https://www.youtube.com/watch?v=mklEhT\_RLos&t=4328s...
https://redd.it/1izs8gb
@reddit_androiddev
Google Taking More Than 15% From In-App Purchases – Why?
https://redd.it/1izqh56
@reddit_androiddev
Google Play Verification, if I remove my paid apps do I still need to publish my home address?
I've had a free hobby app for over a decade, with a separate paid app to support development.
Google will shut down my developer account and apps if I don't complete the Developer Verification.
Google already have all my personal details, but I don't want my name and home address being publicly available.
However: "Because you earn money on Google Play, your full legal address will be shown publicly."
My hobby app is really useful to a people in a niche field, but only brings in about the pr...
https://redd.it/1izoqtr
@reddit_androiddev
Coroutine flows best practice?
https://redd.it/1izji3m
@reddit_androiddev
Catching soft keyboard events in android 10
I've seen several solutions and none of the exactly work:
1. GlobalLayoutListener: it seems the layout isn't getting changed (which makes sense I guess)
2. onApplyInsetsListener: works on android 11, not so well on android 10, sometimes getting triggered mostly on the first event and on closing app consistently.
3. InputMethodManager: can't extract the relevant info, and even if I could there is no event that is getting triggered at least every time the keyboard opens for me to check it.
4.also ...
https://redd.it/1izf8s7
@reddit_androiddev
Jetpack Compose Authentication with Supabase
Hello everyone,
I’ve recently released a new GitHub repository featuring an Android authentication app built with Jetpack Compose and Supabase.
### Features:
- Email/Password Login
- Google Sign-In (via Android Credential Manager)
- OTP Verification for account confirmation
- Password Reset flow
- Material 3 UI with animations
You can find the repository here: GitHub Repo...
https://redd.it/1iz6lhh
@reddit_androiddev
Help build KSP kotlin and toml
Hello,
Sorry this is the first time a do a post here, but i am stuck on this issue for a while now.
I am updating my gradle to 8.10, and I can't manage to run, no matter what i change it always fail
java.lang.NoSuchMethodError: 'kotlin.sequences.Sequence com.google.devtools.ksp.processing.Resolver.getPackagesWithAnnotation(java.lang.String)'
at dagger.spi.internal.shaded.androidx.room.compiler.processing.ksp.KspRoundEnv.getElementsAnnotatedWith(KspRoundEnv.kt:110)
at...
https://redd.it/1iylakz
@reddit_androiddev