This app requires a web view to work

After developing my app, I wanted to create a release to test it, so I generated the apk, installed it on my device (Android 12). Then I got this error


Can you help me?

That will appear if the device doesn’t have a WebView installed or failed to initialize it.

Does it work if you run directly from Android Studio instead of creating an apk?

Which device is it? (model, brand, android version)

Yeah, I used Android Studio to test the app and I used the same device (which is now denying the release version ), to run the debug version and it worked fine.

I installed the same release APK on my friend’s Android 10 Samsung and it worked fine.
My device is Samsung Galaxy A01 running Android 12, with updated Android WebView and Google Chrome apps.

I did a factory reset on my device and it worked. Days before, I did some stuff with adb to manage storage and it reduced(shrinked) my phone storage to 50%. I don’t know if it was the cause, but it’s working right know.