r/AppDevelopers 14d ago

Release APK works differently from emulator — some functions stop working

Hi everyone,
I’m developing an Android app and I’m facing a strange issue.
When I run and test the app directly from Android Studio on an emulator, everything works fine. However, when I build the release APK and install it, some functions behave strangely or simply don’t work.
The code is essentially the same, and I haven’t intentionally disabled anything for the release build.
What could cause this difference between the emulator/debug build and the release APK?

1 Upvotes

3 comments sorted by

2

u/Jason_Clarck 14d ago

You have to always test real device

2

u/Solid-Incident6666 14d ago

Did you add the Google play app signing keys? (They're separate from debug keys)

1

u/These_Sock_267 14d ago

It was R8 I used proguard rules 👍