Is it possible to discover and run third-party Android Instant Apps on an emulated device?

后端 未结 2 544
梦谈多话
梦谈多话 2021-02-05 15:16

I\'m currently trying to learn about Android instant apps. Since I don\'t own any real devices that support them, I\'m using the emulator (from Android Studio 3.0 Canary 9). I c

2条回答
  •  心在旅途
    2021-02-05 15:30

    Is it possible to discover and open third-party Instant Apps on an emulated device (and if so, how)?

    At present, no. :( There are security restrictions in place preventing emulated devices from using various Google services. If you check the log, you might find a message similar to "io.grpc.StatusException: INVALID_ARGUMENT: Application credential header not valid. Please fix the client to pass a valid application credential header."

    On the API 26 emulated device, if I type adb shell pm list packages grep "com.google.android.instantapps.supervisor" returns nothing

    FYI, Supervisor isn't used for Android O.

提交回复
热议问题