Weird message when opening app in AndroidStudio

Hello! I suddenly got a weird problem with my Ionic app. When trying to open it in AndroidStudio, this message appears:

When I press OK, and try to run the app, more errors appear, but I guess this is the root of the problem? I may also provide the error-messages if needed.

Remove the Android platform, re-add it again. The error should be gone.

“Ionic cordova platform remove android” and “… add android”? Unfortunately, I’ve tried that several times with no result :-/

What does ionic cordova requirements output?
Try reinstalling Android Studio…

Here’s the output:
48

I’ve also tried reinstalling Android Studio, with no result.