r/androiddev • u/No_Tackle2724 • 23d ago
Discussion Where is the layout folder?
I just created a new android project and i see there is no layout folder. Why google why?
r/androiddev • u/No_Tackle2724 • 23d ago
I just created a new android project and i see there is no layout folder. Why google why?
r/androiddev • u/Dev-in-the-Bm • 23d ago
I'm working on some apps for a project I'm currently involved in, and I'm aiming for the implementation of Material 2 that Google used for their apps.
This is the aesthetic used in most Google apps before they switched over to the pastel Material 3, otherwise known as Material You.
I like this Material 2 UI for its modern, polished look with large, rounded elements, without being especially engaging or animated.
The problem is that I haven't been able to find enough of the right versions of Google Apps to be able to model after.
The most I've been able to get is this Google Play sign-in popup, see above.
As you can see in the background, the translate app is already using the newer pastel Material 3, which is not what I want.
I believe the clock is also using the aesthetic I want, but its a bit harder to tell because its in dark mode and I don't have much to compare it to.
The UI seen in the screenshots of Google contacts and Gboard are an older variant, and also not what I'm looking for.
You can see that they're using a softer shade of blue, and shapes are squarer.
I think Quick Share and Android Auto used the Material 2 look I'm after for a a few years after most other apps already switched to M3.
If anyone can help me out, point me to exact versions of Google apps, or provide screenshots of apps in the right versions, it would be helpful.
Thanks
r/androiddev • u/koje1971 • 24d ago
If I have a string in a class file and want to protect it as best as possible against decompilation and analysis, are there any ideas? I know it can't really be fully protected, but I want to make it as hard as possible. Ideally, with minimal effort.
r/androiddev • u/KaleidoscopeLow6525 • 25d ago
Hi everyone!
I'm currently working on my Bachelor's thesis in Computer Science at IU International University of Applied Sciences (Germany).
My research focuses on comparing Single-State MVVM and reducer-based MVI in Jetpack Compose, particularly regarding:
I'm looking for Android developers, Kotlin developers, and Jetpack Compose enthusiasts who would be willing to participate in a short survey.
I'm also looking for experienced Android developers who would be interested in taking part in a semi-structured expert interview.
The interview would take approximately 30–45 minutes and focus on practical experiences with MVVM, MVI, state management, code complexity, and testability in Android development.
Ideally, you have professional experience with Jetpack Compose and one or both architectural approaches.
If you're interested, please leave a comment or send me a private message. We can arrange a suitable time individually.
Thank you very much for supporting my research! Any participation or feedback is greatly appreciated.
r/androiddev • u/Chance_Patience387 • 24d ago
i download tar file of android studio and setup it using "studio.sh" file then run it using "studio" file. then it become very unresponsive. studio takes 1 second to type one character :| error=
azan@azanfedora:/opt/android-studio/bin$ ./studio[SKIKO] warn: Fallback to next APIorg.jetbrains.skiko.RenderException: Cannot create OpenGL contextazan@azanfedora:/opt/android-studio/bin$

my fastfetch output
r/androiddev • u/mrK0z01 • 24d ago
Hey everyone!
I'm an indie developer working on a Flutter app (Android + iOS), and I've noticed a pretty strange discrepancy between RevenueCat and Google Play Console.
Over the last 28 days, RevenueCat reports:
However, when comparing the exact same period (Oct 11 - Nov 5), the numbers look like this:
I understand that RevenueCat's "New Customers" metric isn't the same as app installs, but the difference still seems unusually large.
Here's where it gets interesting:
On October 14 alone:
I also exported the full RevenueCat customer reports and found that:
first_seen_at and last_seen_at timestamps.I did install and test the app locally using Flutter during development, but definitely not enough to explain such a large difference.
I also don't have any Google Play pre-launch test reports available that could explain the activity.
My questions:
I'm not suggesting RevenueCat is necessarily counting incorrectly - I'm just trying to understand where all these additional customer records are coming from.
Would really appreciate hearing if anyone has encountered something similar or knows what I should investigate next.
Thanks!
Disclaimer: I used AI to help polish the wording of this post, as English isn't my first language. The issue and data are real and come from my own app.
r/androiddev • u/Cute_Assistance_7237 • 25d ago
Android Studio's emulator doesn't officially support Windows on ARM, so developers on Snapdragon X laptops can't run AVDs the normal way. Microsoft's docs say the emulator isn't supported there, and a Google issue records no immediate plans for it.
I wanted to see if it could be done, so I built a bridge that makes it work. You create an AVD in Device Manager, press Run, and a stock Android image boots on Windows Hypervisor Platform.
What works:
How it works: QEMU runs the guest through WHPX. A small bridge speaks the emulator's gRPC protocol, so Studio treats it as a normal emulator. Stock images expect virtual devices this QEMU doesn't have, so vendor binaries are patched at boot by code signature, and the images on disk stay untouched. GL commands then travel over TCP to gfxstream on the host, through ANGLE to Vulkan.
The hardest bugs:
peak_refresh_rate was set, even with the display at 120 Hz.What doesn't work yet:
It's an independent project, not affiliated with Google. I built it with heavy use of AI coding tools, directing the work and testing it on real hardware.
Source: https://github.com/DevanshSampat/android-emulator-windows-arm64
Mostly I'm hoping this shows it's possible and that there's demand. Google, please support this officially. If you develop on a Windows ARM laptop, I'd like to hear what's blocking you.
If you wish to try it: https://github.com/DevanshSampat/android-studio-arm64-releases
r/androiddev
•
u/GlyndwrKog
•
25d ago
I have this app that uses RevenueCat to manage subscriptions and paywall.
During build and debug, everything worked well. Move to closed testing phase where everything worked well. Now I'm getting rejected from moving to production because the reviewer is getting the following feedback when trying to make a purchase through my paywall.
This is the second reviewer that had this issue. The first time, I went into Cloud Console and ensured the RevenueCat account had the correct permissions, I ran another test after test but of course when testing, we only use the 'Test Card' which always accepts. (and it works)
The 'No internet connection....' response is not in my code, it's a RevenueCat or PlayStore response, so I'm not sure if its something I did wrong when configuring products or if the reviewers just need to have a better connection?!
r/androiddev • u/mightyredbull • 24d ago
In google pay console, how the Google verify the bank details or ID is genuine, because Google doesn't have the access right ?
Only verification is email and phone number right ?
So this means if someone make a fake ID how will they verify ? Fake IDs may work ?
r/androiddev • u/StatusWntFixObsolete • 26d ago
Kotlin DSL scripts benefit from incremental compilation, making script recompilation after a change in buildSrc or an included build up to 65% faster in large multi-project builds.
r/androiddev • u/NukeouT • 25d ago
r/androiddev • u/kikapooo • 25d ago
I'm testing an Android timer app built with Flutter on a test device: a Samsung Galaxy S10e running Android 12.
Under normal conditions, the app works without any major issues. However, when I leave a timer session running for 7–8 hours without interacting with the phone, the app is occasionally force-stopped while the device is idle.
Here is the log captured when the app was terminated:
timestamp=2026-11-07 09:19:50.180
pid=2925
realUid=10846
packageUid=10846
definingUid=10846
user=0
process=com.XXXXXX.XXXXXX.debug
reason=10 (USER REQUESTED)
subreason=0 (UNKNOWN)
status=0
importance=125
pss=338MB
rss=112MB
description=stop com.google.android.gms due to installPackageLI
state=71 bytes
trace=nullThis does not appear to be a battery or memory-related issue.
My app uses GMS-related features such as ads and sign-in. It seems that when Google Play services is updated, the package is installed or replaced, causing my app, which depends on GMS, to be force-stopped as well.
The GMS-related packages currently used in my app are:
I've investigated this issue from several angles, but I haven't been able to find a solution. As far as I can tell, there doesn't seem to be a way to prevent this forced termination.
Q1. Is there any way to prevent a GMS client app from being force-stopped during a Google Play services update?
Q2. How do sleep-tracking apps deal with this issue?
r/androiddev • u/Subhadiptech17 • 25d ago
Hi people,
Remember this: https://www.reddit.com/r/androiddev/comments/1uzywkh/introducing_real_time_compose_playground/
I have added some cool features upon community request to the playground
1: Dark Mode Support
2: Code sharing and live coding
3: Concise error display inside emulator
Try here: https://www.the-android-guy.in/
Please share your thoughts below!
r/androiddev • u/lifitd • 26d ago
#Android17 market share: After having been around 10%, the share of SDK 37 (17) increased notably in October and was at 20.26% as of the end of the month.
We post new stats on iOS and Android usage monthly and use the aggregated data from over 10,000 apps we manage and over 10 million monthly active users.
https://telemetrydeck.com/survey/android/Android/sdkVersions/
r/androiddev • u/kadirism • 26d ago
Last month I was complaining about long review times. It was very frustrating. Appearently they took some actions. For some time my reviews are almost instant, ie 10-15 minutes for a release to go live. If I update store copies or screenshots it still takes a couple of days, but still a huge improvement.
I just wanted to share my appreciation here, that’s all :)
r/androiddev • u/androidtoolsbot • 27d ago
r/androiddev • u/nitinkanade • 27d ago
Hey guys,
Just saw the new "Trader status declaration" banner in Google Play Console (the one with the Feb 2027 deadline). Read through the support docs, but I’m still a bit lost on how this actually impacts solo developers with individual/personal accounts.
Mainly concerned about the privacy side of things. From what I understand:
Would love to hear from anyone who has already dealt with this or figured out a clean workaround. Cheers!
r/androiddev • u/androidtoolsbot • 27d ago
r/androiddev
•
u/Turbulent_Juice2432
•
27d ago
So apparently now Google will be obligated to doxx everyone that makes money with their apps because of f*cking Digital Services Act of EU ???
Like if you are a solo dev makign only 10 bucks a month you are considered professional and therefore will see its personnal information on the play store made public like WTFFFF ?
Oh btw you have until 1st of February 2027 or else they take down every of your apps and kill your account.
Really considering removing all of my apps from UE and UK to dodge the mandatory form.
Seriously what is EU thinking ???
r/androiddev • u/ClassKlutzy7633 • 27d ago
I've been capturing screenshots of Compose screens on a headless Linux box with plain Robolectric: @GraphicsMode(NATIVE), createAndroidComposeRule, then drawing the activity's decorView into a Bitmap and writing a PNG. No emulator, and it runs as a normal unit test with Gradle.
It works better than I expected. Text, Material 3 components and tab layouts render correctly, and a full screen takes a few seconds. The rough edges I've hit so far:
For people who've used Paparazzi or Roborazzi: is there a strong reason to switch for simple "render this screen to an image" use, or is plain Robolectric fine when you aren't doing diff-based screenshot testing? And has anyone found a clean way to capture a full scrollable column without a fake tall window?
r/androiddev
•
u/yawnocdev
•
28d ago
r/androiddev • u/Successful-You5174 • 28d ago
I built AspectK and just released 0.4.4, a Kotlin compiler plugin for compile-time AOP in Kotlin (Kotlin Multiplatform supported).
Annotate a function and inject your own logic before/after it, woven in at compile time, with debug info preserved and IDE support.
As a stability check, I applied it to 39 modules of DuckDuckGo’s Android app: all 28,749 unit tests passed, and the R8-minified APK runs fine on a real device.
AspectK: https://github.com/Mole-Labs/aspectk
DuckDuckGo fork: https://github.com/oungsi2000/Android
Feedback welcome!!
r/androiddev • u/flufflingly • 28d ago
I'm an aspiring web and mobile developer, currently focusing on web development. I was wondering if I should invest on an android phone (i.e., Google Pixel) when I focus on mobile development. In the future, I plan on creating personal projects to build up my portfolio (e.g., apks) and test them on said android device. As of now, I am an iPhone user and I don't think there's a way to develop and test apps for free on Apple.
I know emulators exist but thinking about testing a self-developed app on an actual mobile sounds nice. Any thoughts? If yes, which phone is good? I heard the Google Pixel is nice but I'm hesitant on the Samsung S Series since I know someone who has gotten pink/green lines on their S23 Ultra's screen over time.
Edit: Thank you for the insights! Will probably hold off on the android phone for now and use emulators during the early stages before buying a low end pixel if needed
r/androiddev • u/trevordotty • 28d ago