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

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -