Akdeniz / google-play-crawler

Play with Google Play API :)
Other
561 stars 204 forks source link

Getting error as 'Need Browser' while sign in to google play. #79

Open sayalijoshi opened 8 years ago

sayalijoshi commented 8 years ago

Hi Akdeniz,

I am getting issue while trying to sign in into google account. I have automated script to download the apk files from Google Play store. The script was running fine till last week. But, recently getting error as Need Browser. Bellow is the error -

Exception in thread "main" com.akdeniz.googleplaycrawler.GooglePlayException: Error=NeedsBrowser Url=https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&continue=https%3A%2F%2Faccounts.google.com%2Fo%2Fandroid%2Fauth%3Fhl%3Den_us%26xoauth_display_name%3DAndroid%2BLogin%2BService%26source%3DAndroid%2BLogin&plt=AKgnsbvpYOFQNYD02v2gawgW73Qa_H9ymB1OhI6mqifo1tfMndMaVWA6wyfuVSN94w4003Kc6lz9gJ51fjnAY97fXoMvEHTlV0AqVIwRpHNwcNMS50dFsO7e7dveFv-8HhJRvfDHHruJy7MJH-Gq808p3U_LANxN0g0irHHDcf3o4TjFQC1GHpg2abYrIkPYuea4qVhzHgN2gI7tduYeFF7VTSLhQ-SQIHWLmgMhnfrTGMBsgWUPN7w ErrorDetail=To access your account, you must sign in on the web. Touch Next to start browser sign-in. at com.akdeniz.googleplaycrawler.GooglePlayAPI.executeHttpRequest(GooglePlayAPI.java:522) at com.akdeniz.googleplaycrawler.GooglePlayAPI.executePost(GooglePlayAPI.java:482) at com.akdeniz.googleplaycrawler.GooglePlayAPI.executePost(GooglePlayAPI.java:462) at com.akdeniz.googleplaycrawler.GooglePlayAPI.loginAC2DM(GooglePlayAPI.java:180) at com.akdeniz.googleplaycrawler.GooglePlayAPI.checkin(GooglePlayAPI.java:160) at com.info.playservice.GooglePlayService.createService(GooglePlayService.scala:49) at com.info.playservice.GooglePlayService.loginToPlayService(GooglePlayService.scala:79) at com.info.playservice.GooglePlayService.(GooglePlayService.scala:36) at com.info.boot.free.BootFreeApps$delayedInit$body.apply(BootFreeAppsSelenium.scala:24) at scala.Function0$class.apply$mcV$sp(Function0.scala:40) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) at scala.App$$anonfun$main$1.apply(App.scala:71) at scala.App$$anonfun$main$1.apply(App.scala:71) at scala.collection.immutable.List.foreach(List.scala:318) at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32) at scala.App$class.main(App.scala:71) at com.info.boot.free.BootFreeApps$.main(BootFreeAppsSelenium.scala:20) at com.info.boot.free.BootFreeApps.main(BootFreeAppsSelenium.scala)

Currently, I am using googleplaycrawler-0.3.jar to download apk files from play store. Can you please help me to resolve this issue.

Thanks, Sayali

atiqsayyed commented 8 years ago

Hi Sayali,

The problem would be of google security.. You may want to check the security policy of your account. Please check this out https://productforums.google.com/forum/#!topic/gmail/meKwKfxEk5g

sayalijoshi commented 8 years ago

Thanks Atiq. That was a google account security issue.

Jiezhi commented 8 years ago

I solved this problem by check this: https://accounts.google.com/b/0/DisplayUnlockCaptcha