Fail to initialize JWVrVideoView view.
I am trying integrating jw vr player into my android application. First, I downloaded the sample code from Github
followed the instruction, added necessary libraries and license key. It always stop at the line setContentView(R.layout.activity_video); with error:
(Caused by: java.lang.NoSuchFieldError: No static field mc_seek_bar of type I in class Lcom/longtailvideo/jwplayer/vr/R$id; or its superclasses (declaration of 'com.longtailvideo.jwplayer.vr.R$id' appears in /data/app/com.jwplayer.demo.vrsample-1/base.apk))
Then, I found an answer with a working sample code at http://qa.jwplayer.com.s3.amazonaws.com/~george/dima_360.zip. It works well.
So, I copied all files into my project, from libs folder, gradle files, java source codes, however it throws the same error as above. I then compared dima_360.zip source code and Github source code but don't see any different. That's really strange, please let me know if you have any idea.