Unable to get token on API level 17

后端 未结 2 392
别跟我提以往
别跟我提以往 2021-01-15 00:58

I am running these commands in order to get a token:

  InstanceID instanceID = InstanceID.getInstance(getApplicationContext());
  String token = instanceID.g         


        
2条回答
  •  北恋
    北恋 (楼主)
    2021-01-15 01:56

    You need to install the gapps of the version of android in your emulator, if use the genymotion you need to install before the gapps di Genymotion-ARM-Translation_v1.1 after that, probably will work

提交回复
热议问题