MediaLibrary is not working in built app, on Android APK


#1

MediaLibrary from Expo SDK is working fine in Expo App, but after i run expo build:android. And try it on my Android Phone. It is not working properly ( not running at all ).

This is my code.

image


#2

Apparently I have the same problem and was looking for solution too.


#3

Hey @andrewdudu and @anson_tio,

What SDK version are you building your Android APK with? Also, can you elaborate on what exactly is happening when you attempt to execute the code?

Cheers,

Adam


#4

I am using sdkVersion 31.0.0

when I execute my code (in built apps / apk), nothing happen from calling MediaLibrary. But in Expo, everything is fine.


closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.