Android Examples updated for Android Studio

I hope you´re doing great.
I´m very very new in Gstreamer and I need to play a RTSP with h265 for Android mobile.
I donwload the examples to have a reference that can work and I found a couple of issues.

  1. The examples 2,3,4,5 without any modification, generates an ANR while playing on Android. To fix that in the I had to manually add the plugins like:

GSTREAMER_PLUGINS := coreelements

Any suggestion to fix that???

  1. On the other hand, I was not able to play any video either locally or just a basic one like:

Also, when I try the rstp video I got: rtspsrc2: Could not open resource for reading and writing. This is after trying to change the tutorial 5.c with the gstreamer comand that i need: “rtspsrc location=rtsp://”

Any help or suggestion???
Thanks in advance.