our company got jwplayer sdk license use in our android app.
i tried followed both maven , local gradle import instructions in getting started documentation.
if follow gradle import instructions, gradle sync works. then, when try import or use of packages, not found.
android studio seems on board import statement until point:
import com.longtailvideo.jwplayer.
but if start adding individual classes, none of them recognized:
import com.longtailvideo.jwplayer.jwplayerview; import com.longtailvideo.jwplayer.events.listeners.advertisingevents; import com.longtailvideo.jwplayer.events.listeners.videoplayerevents; import com.longtailvideo.jwplayer.media.adaptive.qualitylevel; import com.longtailvideo.jwplayer.media.source.singlesource;
and using these in activity not work, usual "cannot resolve symbol 'jwplayerview' " error, example.
note, not work either: import com.longtailvideo.jwplayer.*;
if follow maven import instructions instead, gradle sync not work , "failed resolve: com.longtailvideo.jwplayer:jwplayerandroidsdk:+"
there nothing in android sdk faq beyond "contact support", have done. (nearly week ago, no reply).
thanks in advance.
for maven package:
com.longtailvideo.jwplayer:jwplayerandroidsdk:+
should instead be:
com.longtailvideo.jwplayer:jwplayer-android-sdk:+
Comments
Post a Comment