Wowza Community

License error when build android + gocoder SDK using release mode

When we build the app using gocoder sdk on debug-mode all went well.

But, on release mode we stuck on error about licensing.

We double-check the license key, and all is valid.

Below the error from console.

Any help?

No pending exception expected: java.lang.NoSuchFieldError: no "I" field "mVerificationResult" in class "Lcom/wowza/gocoder/sdk/support/licensing/LicenseManager;" or its superclasses

JNI DETECTED ERROR IN APPLICATION: fid == null
2019-06-14 10:57:09.955 27036-27036/? A/m.xxx.activity: java_vm_ext.cc:542]     in call to SetIntField
2019-06-14 10:57:09.955 27036-27036/? A/m.xxx.activity: java_vm_ext.cc:542]     from void com.wowza.gocoder.sdk.support.licensing.LicenseManager.validateLicenseKey(java.lang.String, java.lang.String, com.wowza.gocoder.sdk.support.licensing.LicenseManager)
2019-06-14 10:57:09.955 27036-27036/? A/m.xxx.activity: java_vm_ext.cc:542] "main" prio=5 tid=1 Runnable
2019-06-14 10:57:09.955 27036-27036/? A/m.xxx.activity: java_vm_ext.cc:542]   | group="main" sCount=0 dsCount=0 flags=0 obj=0x7508f4b8 self=0x714fa14c00
2019-06-14 10:57:09.955 27036-27036/? A/m.xxx.activity: java_vm_ext.cc:542]   | sysTid=27036 nice=-10 cgrp=default sched=0/0 handle=0x71d60b5560
2019-06-14 10:57:09.955 27036-27036/? A/m.xxx.activity: java_vm_ext.cc:542]   | state=R schedstat=( 827780428 1749766 542 ) utm=71 stm=11 core=5 HZ=100
2019-06-14 10:57:09.955 27036-27036/? A/m.xxx.activity: java_vm_ext.cc:542]   | stack=0x7fcbc5b000-0x7fcbc5d000 stackSize=8MB
2019-06-14 10:57:09.955 27036-27036/? A/m.xxx.activity: java_vm_ext.cc:542]   | held mutexes= "mutator lock"(shared held)

Let me look into this for you right now.

Hi @agung cz, I checked and your SDK license is valid, but your Engine trial shows as expired as of June 4th. You can get another on easily here:

https://www.wowza.com/media-server/developers/license

That error code was from my colleague since he was in charge to build in release-mode.

This morning we solved the problem by skipping the minify option when build android. Then the app able to run smoothly

ok thanks for the update- appreciate it.