• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

video tutorial question


I am doing what is done in this video. At 9:55, he replaces AppCompatActivity with YouTubeBaseActivity. When I start to type it out, the option doesn't show up. When I try to manually add it, it shows up as an error. What could be causing that? Thanks in advance for your help.
 
Are you saying that your project doesn't have the YouTubeBaseActivity class?
Did you add the YouTubeAndroidPlayer.jar library to your project, as he does earlier on in the tutorial?
 
Can you post your code, and possibly a screenshot of what's happening?
 
To extend from YouTubeBaseActivity class, belowimport statement must be there at top of your activity class.

import com.google.android.youtube.player.YouTubeBaseActivity;

To resolve this class,your youtube API's gradle dependencies must built properly.
 
Back
Top Bottom