简体   繁体   中英

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.

在此处输入图片说明

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?

在您的Application类中添加onCreate方法

LicenseUtil.setLicenseKey(this, "YOUR_LICENSE_KEY")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM