JWPlayer invalid license key error code (100012)

I am trying to play a Video using JWPlayer and getting invalid license key error code (100012) after player setup.

enter image description here

Using free developer account on JWplayer dashboard and got license key from dashboard -> players -> Downloads & Keys section.

JW player Android Sdk version: 3.0.0

Integration Steps:

  1. Downloaded Android JW Player SDK
  2. Added dependency in android studio as .aar
  3. Configured the license key in manifest file
  4. Added a player to an adapter using recycler view.
  5. Run the app and got the invalid license key error in JWplayer view.

We can find license key from dashboard -> tools section but I could not see tools in dashboard for free account. So, tools section enabled for paid account only?

2

1 Answer

Add inside your Application class onCreate method

LicenseUtil.setLicenseKey(this, "YOUR_LICENSE_KEY") 

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like