MCMrARM / Google-Play-API

An implementation of some of the Google Play's API calls. Includes a tool to download apps.
Apache License 2.0
73 stars 16 forks source link

Failed to execute Download model #11

Open rakutenDev opened 7 years ago

rakutenDev commented 7 years ago

Hi,

First I wanna really thank you for this great work. I'm so interesting to develop this project.

I'm running & building this project in 2 different platform ( Windows 10 using Visual Studio Community 10) & ( Linux Ubuntu as you recommend) but I still having this the same functionnal message error, http response body: Error=BadAuthentication Failed to login using the specified credentials: No auth cookie field returned

send request -> http request: https://android.clients.google.com/auth, body = accountType=HOSTED_OR_GOOGLE&Email=elamrani.youssef88%40gmail.com&Passwd=xxxxxx&has_permission=1&service=ac2dm&source=android&app=com.google.android.gsf&device_country=us&lang=en_US&sdk_version=23&client_sig=38918a453d07199354f8b19af05ec6562ced5788&system_partition=1

Can you help me to resolve this issue or how perfectly run it? I follow all yours precious instructions in Wiki.

Thank you again.

dw5 commented 7 years ago

10 #12

MCMrARM commented 7 years ago

A web-browser login is required to log in. I implemented it in mcpelauncher-linux using CEF (https://github.com/MCMrARM/mcpelauncher-linux/blob/apk-download/src/google_login_browser.cpp https://github.com/MCMrARM/mcpelauncher-linux/blob/apk-download/src/google_play_helper.cpp) and it can be ported to this project.