android - YouTubePlayerSupportFragment cannot be resolved to a type -
i using adt eclipse develop android app. imported , using android-support-v7-appcompat support library , while using "youtubeplayersupportfragment" class erroring out saying unresolved.
min sdk app 7.
can please support library should use use youtube player api lower versions of android. ?
i have gone through support libraries , features added in library, didn't find clue.
can please help?
piece of code using
youtubeplayersupportfragment fragment = new youtubeplayersupportfragment(); fragmenttransaction.add(r.id.sample_video, fragment); fragmenttransaction.commit(); fragment.initialize(developerkey.developer_key, new oninitializedlistener() { .... }
Comments
Post a Comment