Android on Youtube error message SERVICE_MISSING
Hi i made the same application with my json. The problem in the video I am getting on the emulator is "There was an error initializing the youtube player. Note: Allowed internet permission in manifest
I tried to trace the error
public void onInitializationFailure(YouTubePlayer.Provider player, YouTubeInitializationResult errorReason){
// TODO Auto-generated method stub
String errorMessage = errorReason.toString();
Toast.makeText(this, errorMessage, Toast.LENGTH_LONG).show();
}
SERVICE_MISSING error result
Hope I get a solution from you.
Your device / emulator may be missing the YouTube app or, if installed, is too old (should be 4.2.16 or higher).
create a device in emulator that needs to contain google api to use google services. This means that you have not implemented the google api in your devices.
Thanks for the answers for me, the problem was in the youtube app. As I checked with a mobile device the app worked fine. Therefore, it is necessary that the YouTube application on the device
The problem is you missed the permission to access the Internet
<uses-permission android:name="android.permission.INTERNET" />
in your AndroidManifest.xml
The emulator contains no game services, so you will get an error because of this also