简体   繁体   中英

Google Places API AutoComplete error Android

I followed google tutorial here to implement an autocomplete searching in Android. once I constructed the app and run it I get this error

 returned from sslSelect() with result 0, error code 2
 returned from sslSelect() with result 1, error code 2

any clue ?

Thanks in advance

It was solved for me when I exchanged the API key. I was using the one under Android device, I changed it to the one "Key for browser apps (with referers)" and it worked for me although I'm using Android device.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM