Hello, I'm trying to use this library but I get this error when running, does anyone have any idea what it could be?
Or if someone has already used this library, could you tell me what may be missing.
thank you
AndroidYouTubePlayer
Enjoy this library from B4A https://github.com/PierfrancescoSoffritti/AndroidYouTubePlayer YouTube player based on WebView, because the one provided by Google is soo bad :| (Original library words :D ) Notes: @DependsOn(values={"android-support-v4"}) Uses appcompat library YouTubePlayerView...
www.b4x.com
Eror:
--------- beginning of main
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
** Activity (main) Resume **
Youtube view is ready
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/ContextCompat;
at com.pierfrancescosoffritti.youtubeplayer.PlayerControlsWrapper.onStateChange(PlayerControlsWrapper.java:243)
at com.pierfrancescosoffritti.youtubeplayer.YouTubePlayerBridge$1.run(YouTubePlayerBridge.java:35)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: java.lang.ClassNotFoundException: android.support.v4.content.ContextCompat
... 10 more
Or if someone has already used this library, could you tell me what may be missing.
thank you