googlearchive / android-instant-apps

Migrated:
https://github.com/android/app-bundle
Apache License 2.0
846 stars 277 forks source link

Unable to connect to Google Play Service. #11

Closed df13954 closed 7 years ago

df13954 commented 7 years ago
Unable to connect to Google Play Service. ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}  token=59b25c9c-8c78-4340-8292-f920d9a4273f

06/05 17:11:54: Launching instantapp
Uploading Instant App to pre O device.
Starting / refreshing Instant App services
DevMan error: Unable to connect to Google Play Service. ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}  
$ adb shell pm uninstall com.dolphinwifi.myapplication
Unknown failure (at android.os.Binder.execTransact(Binder.java:565))
Error while Uploading and registering Instant App

nexus 5x Android 7.1.2 gps 11.0.38 gps for instant apps 1.9 instant apps dev manager 1.0.155672963

adamkoch commented 7 years ago

Can you try the emulator? See: https://stackoverflow.com/a/44052798/268156

df13954 commented 7 years ago

I'm not using the simulator. Buzzfeed.com/stasty this connection can be turned on properly. Currently in China, the 5x version of nexus is used in Hongkong。The computer can't run the simulator at the moment。。

adamkoch commented 7 years ago

To workaround the error "Unable to connect to Google Play Service" you will need to use the emulator as per the stackoverflow post.

df13954 commented 7 years ago

I upgraded the system to Android 8.0, so that it can start properly. I don't want to use the simulator