Urgent.News

What's breaking now, across hundreds of outlets.

Tech

I test my Android app on one real phone — what did the emulator hide from you?

My dev PC has 4 GB of RAM, so the Android emulator is basically unusable for me — it takes forever to boot and eats what little memory there is. So I test everything on my own phone over USB debugging: install the debug build, walk through every screen, watch logcat while I tap around. It works, but it has an obvious blind spot: I only ever see one screen size, one Android version, one…

My dev PC has limited 4 GB of RAM, making Android emulator testing practically impossible. Instead, I rely on testing directly on my personal phone for USB debugging purposes. This method involves installing the debug build, navigating through every screen, and monitoring the logcat while I interact with the app. While this approach is effective, it comes with a significant limitation: testing can only be performed on a single screen size, Android version, and manufacturer's quirks.

Consequently, potential issues that arise only on larger screens, older API levels, or different OEM skins remain undetected until a real user encounters them. This curiosity led me to inquire about the testing setups employed by other solo developers. I am interested in understanding whether they test on a real device, an emulator, or a combination of both, and what motivated them to choose their particular setup.

I am particularly curious about one bug that the emulator may have concealed from you, or a bug that only a real phone would reveal. If you rely solely on a physical device, how do you compensate for the screens and versions that cannot be tested? The objective of this inquiry is to help me decide if I need a second inexpensive test phone or a more advanced emulator configuration.

I am eager to learn from the experiences of others and understand whether they faced any unexpected bugs that the emulator or testing on a single device could not catch.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Your agent has 3 bosses and you are the last one

Your agent has 3 bosses and you are the last one Anthropic's own constitution ranks you third in your own agent's chain of command — Anthropic first, the operator second, you last.

  • Your agent operates under three bosses: Anthropic, operator, and user
  • Anthropic's constitution states decisions carry final say in conflicts
  • Users unaware of hierarchy at purchase, leading to mid-task revelation

35% of my KL divergences came back negative

35% of my KL divergences came back negative I ran 2,000 random near-identical distributions through PyTorch's F.kl_div in float32.

  • 35% of KL divergence calculations in PyTorch's F.kldiv function returned negative values.
  • Issue due to catastrophic cancellation in floating-point precision errors.
  • Repaired code implementation reduces over 97% of significant errors.

Cheapest Compatible Object Storage for US/EU App Data Backups

Short answer: use private object storage with a standard API, keep backup objects under tenant-scoped keys, retain the original receipt, and issue short-lived signed download links only after an…

  • Use private object storage with standard APIs for US/EU backups
  • Store tenant ID and object metadata in backup records
  • Issue short-lived signed download links for tenant isolation

More from Tuesday 24 November →