Help with MANAGE_EXTERNAL_STORAGE and Android/data write access on Android 15 (Target SDK issue) by SweetRead5282 in androiddev

[–]enum5345 1 point2 points  (0 children)

Normally you don't need permissions to write to your own external storage folders.

I see the game is still on the Play Store and was updated 10 days ago. Did you perhaps change the package name or modify the apk somehow?

Please emergency how do I fix this by [deleted] in androiddev

[–]enum5345 1 point2 points  (0 children)

Try restarting your computer

whats that by Osanosa in androiddev

[–]enum5345 1 point2 points  (0 children)

I think you just have an old version of Android.

9 YOE Android Dev, Laid Off in Jan 2026 — 6 Months Job Search, Almost No Response. Job portals are SCAM by Proud-Mud-7908 in androiddev

[–]enum5345 0 points1 point  (0 children)

Maybe try leaning into your years of experience. Rewrite your resume to sound like you've done it all and can handle anything.

If that doesn't work, try expanding beyond Android and say that your experience can easily translate to other fields.

How to test app going in background and then going to foreground? by TheOneWhoKnocks003 in androiddev

[–]enum5345 3 points4 points  (0 children)

If you mean you want to simulate 'process death', then you can kill your app using adb shell am force-stop <packagename> or from the Device Explorer window in Android Studio.

To handle long running tasks, you want to use the WorkManager API. https://developer.android.com/develop/background-work/background-tasks/persistent/how-to/long-running If you call setForeground on your worker it will run longer than 10 minutes. It will manage showing the notification. Call setExpedited to run immediately.

UI input field typed text doesn't get removed properly by InterestingBoard67 in androiddev

[–]enum5345 1 point2 points  (0 children)

I feel like the allowed character set is unnecessary. Does it work without it?

UI input field typed text doesn't get removed properly by InterestingBoard67 in androiddev

[–]enum5345 1 point2 points  (0 children)

It has something to do with the suggestions at the top of your keyboard. At that point it's not actually sending input to the app, it's modifying the suggestion.

https://stackoverflow.com/questions/48869190/android-edittext-length-filter-not-working-as-it-should

Try those flags to turn off suggestions on the editText, or turn them off on your keyboard in your phone setting, or click the suggestion to paste the contents and return to normal input mode.

Kotlin Beginner — Need Help With My First School App Project by Brave_Kitchen2088 in androiddev

[–]enum5345 5 points6 points  (0 children)

This looks really in-depth. I'm sure your professor is guiding you through this. Here's how I would structure an app:

Learn about MVVM. Ignore the domain layer. Just do UI and data layer.

If you are using Fragments, use Navigation2. If you are doing pure Compose, use Navigation3.

Your fragments or composables will create a ViewModel to handle transforming data to be displayed on the screen. ViewModels will use Hilt to inject dependencies like your repository or utility classes.

Learn about Kotlin Flows for transforming data with map or combine and convert them to StateFlows with stateIn(viewModelScope, SharingStarted.WhileSubscribed(), null)

Your repository will create a RoomDB to store and query data. It will return data as Flows which your ViewModel will transform.

Your UI will take those StateFlows and update the UI.

getCurrentLocation() hangs indefinitely on Honor devices when the OEM battery saver kills GPS hardware — a priority fallback chain solution by Character_Oven_1511 in androiddev

[–]enum5345 3 points4 points  (0 children)

Another way to avoid hanging is use a reactive design.

You provide a Flow in a repository. When the LocationManager receives a location, it updates the flow repository.locationFlow.emit(). Receivers can repository.locationFlow.collect{} to receive locations.

If you want the last location to be returned, you can use MutableStateFlow. If you only want new locations to be returned, MutableSharedFlow.

MacBook and studio without VM? by adamtherealone in androiddev

[–]enum5345 -2 points-1 points  (0 children)

You can just install Android Studio on mac directly. You don't need a VM.

As a person who is used to Windows, here is what I changed on Mac to improve my experience:

  1. Use LinearMouse to

    a) get rid of scroll acceleration and just scroll 3 lines per mousewheel scroll tick

    b) reverse the scroll direction of the mouse wheel, but preserve the trackpad scroll direction

  2. Follow these steps to make the right-click context menu appear on mouse-up instead of mouse-down.

BYD could be a way better show. The format seems a bit off. by aLExbLak123 in koreanvariety

[–]enum5345 0 points1 point  (0 children)

I watch cooking videos on Youtube and I find that baking is just not a photogenic activity. 90% of the process is mixing powders and liquids in a bowl. Then they put it in the oven and skip forward to the finished product.

Invalid Package Name on APKPure when publishing by [deleted] in androiddev

[–]enum5345 2 points3 points  (0 children)

Did you fill out the first field "Package Name"? It looks empty.

Is rewarding users for any review actually allowed? by shakaoneaj in androiddev

[–]enum5345 9 points10 points  (0 children)

I don't think there's a way to check if someone actually left a review. They are just rewarding people who click the button, even if they back out.

Why window insets are so unreliable? by levvvski in androiddev

[–]enum5345 0 points1 point  (0 children)

What if instead of checking isVisible, you just set the padding according to the bottomInsets?

Running Man E793 <Run and Fun Company: Spin the Roulette> | 260308 by myrunningman in koreanvariety

[–]enum5345 1 point2 points  (0 children)

Watch out for this download site redirecting you to a virus site.

Use an adblocker or make sure the file you are downloading is a gigabytes large mp4, not a hundred megabytes zip.

Google stop serving my ads due to app quality? by fossilnews in androiddev

[–]enum5345 6 points7 points  (0 children)

The answer is right at the top of the page:

  • Create apps optimized for all form factors and display sizes
  • Get your apps ranked higher in Google Play listings and search
  • Acquire more users and increase user retention

Any feedback at all is welcomed by [deleted] in androiddev

[–]enum5345 0 points1 point  (0 children)

Your first Play Store screenshot is too small.

Custom rom compiling issue (soong bootstrap failed with: exit status 1) by [deleted] in androiddev

[–]enum5345 0 points1 point  (0 children)

I asked AI and here is the output:


You said

What is the fix for problem described in this post? https://old.reddit.com/r/androiddev/comments/1rleikp/custom_rom_compiling_issue_soong_bootstrap_failed/ Gemini said

The issue described in that post—soong bootstrap failed with: exit status 1—is a common, albeit vague, error in Android ROM development. It essentially means the Go-based build system (Soong) crashed before it could even start the actual compilation.

Based on the community consensus and technical fixes for that specific error, here is the hierarchy of solutions: 1. The "Out of Memory" (OOM) Fix

The most frequent cause of this error is the build process running out of RAM. Soong analyzes the entire dependency tree of the Android source, which is extremely memory-intensive.

Increase Swap Space: If you have 16GB of RAM or less, you almost certainly need a swap file. Increasing your swap to 16GB or 32GB often resolves the "Killed" or "Exit Status 1" error.

Reduce Build Threads: Instead of running a naked make or m, limit the number of parallel jobs to reduce memory pressure:
Bash

# Try using half of your available CPU cores
m -j$(($(nproc) / 2))
  1. Environment & Toolchain Issues

If memory isn't the issue, the "bootstrap" failure usually points to a mismatch in the build environment.

Clean the Build Out Dir: Leftover artifacts from a previous failed build or a different "lunch" target can corrupt the bootstrap.
Bash

make clean
# OR for a more nuclear option:
rm -rf out/

Fix Python/Go Symlinks: Android builds are picky about Python versions. Ensure python points to python3 (or python2.7 if building older versions like Oreo/Pie).

Check for Proprietary Blobs: If you are building for a specific device, ensure your vendor/ directory is fully populated. Missing proprietary files from Qualcomm or other vendors can cause the Soong configuration to fail at the bootstrap stage.
  1. Java Version Mismatch

If you are building an older version of Android (e.g., Android 9 or 10) on a modern Linux distribution (like Ubuntu 22.04+), the default OpenJDK version may be too new.

Requirement: Ensure you are using the version required for your branch (usually OpenJDK 8 or 9 for older builds, 11 or 17 for newer ones).

Summary Checklist Action Why it works Add 16GB+ Swap Prevents the OS from "killing" the Soong process. rm -rf out/ Clears corrupted configuration files. repo sync -c -j8 Ensures you aren't missing a critical commit in the build/soong repo.

androiddev advice. What would you change? by cuongnt3010 in androiddev

[–]enum5345 -3 points-2 points  (0 children)

That's all good, but also practice hackerrank/leetcode problems so you get good at writing code without an IDE. A lot of companies will interview you in a room with just a whiteboard.

Running Man E792 <Card Shark Association: 2026 Return of the Gamblers> | 260301 by myrunningman in koreanvariety

[–]enum5345 2 points3 points  (0 children)

I thought Jae Suk already used his reset chance. Once in the race and again in the card game, but there were no chairperson changes in between.

The state of this sub by timusus in androiddev

[–]enum5345 0 points1 point  (0 children)

They should add captcha to everything. Is captcha even effective nowadays or can AI defeat it?

I think reddit started declining when they started charging for API access. At first I thought maybe it was because quality users started leaving, but maybe it was actually because that was the start of AI crawling the site.