YouTube Api for android exception “service_missing”

后端 未结 2 2210
盖世英雄少女心
盖世英雄少女心 2021-02-19 19:48

I want to play you tube video in my android application

I got exception while youtube initialization like \"service_missing\".

I write following code,

         


        
2条回答
  •  后悔当初
    2021-02-19 20:23

    As the API documentation for the Youtube API states:

    YouTubeInitializationResult.SERVICE_MISSING
    The YouTube API service is missing on this device.

    You'll need to install the Youtube app into the emulator to make it work.

提交回复
热议问题