Sunday, 15 September 2013

android - Unable to import youtubeplayerapi.jar -



android - Unable to import youtubeplayerapi.jar -

i have implemented playing youtube video using youtubeplayer fragment.when have implemented code @ time location of youtubeplayer api.jar in d:\ drive. have changed location of jar file.now in d:\folder.i have imported jar file 1 time again next these steps:

copy jar file libs folder the libs folder of project. right click on project, build path -> configure build path -> libraries tab add jars -> select project’s libs folder -> select youtubeandroidplayerapi.jar ->ok order , export tab -> check youtubeandroidplayerapi.jar – ok

but when going on 3 step ok button not getting enabled. have changed location of jar file 1 time again d:\ didnt whatever success.

how can problem of mine can resolved?any help appreciable.

step 1:- re-create jar file in libs folder ->youtubeandroidplayerapi.jar

step 2:-right click libs folder : libs->build path ->configure build path

note there 2 alternative when click ,build path :libs->build path ->use source folder , libs->build path ->configure build path .

you should follow path :-libs->build path ->configure build path

step 3:- libraries tab : click add together jars button on right side,then select libs folder of project .in libs folder click jar file. click ok.now can see jar file in libraries tab .

step 4:-click order & export tab :check jar file,click ok..

before next these steps note should delete jar file copied , start import 1 time again

refer link:- http://android-er.blogspot.de/2013/06/download-and-import-youtube-android.html

android jar

No comments:

Post a Comment