Akdeniz / google-play-crawler

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

Issue in setup crawler #76

Open SafwatHassan opened 9 years ago

SafwatHassan commented 9 years ago

Hi Akdeniz,

I have two issue after checking out the code: 1) some classes have compilation errors as the below classes are not exist in the code.

import com.akdeniz.googleplaycrawler.gsf.GoogleServicesFramework.BindAccountResponse; import com.akdeniz.googleplaycrawler.gsf.GoogleServicesFramework.LoginResponse;

2) I run the sbt assembly I got the following errors:

[error] symbol: class ProtocolStringList [error] location: package com.google.protobuf [error] /Users/shassan/git/google-play-crawler/target/scala-2.9.2/src_managed/main/compiled_protobuf/com/akdeniz/googleplaycrawler/GooglePlay.java:33681: error: cannot find symbol [error] public com.google.protobuf.ProtocolStringList

Can you please help me in these issues, or can you please check in the generated java code so we do not need to generate the java code from the pro to files.

Thanks, Safwat

atiqsayyed commented 9 years ago

Hi SafwatHassan .. Can you tell me which SBT version you're using?

SafwatHassan commented 9 years ago

Hi Atiq Sayyed,

Thanks a lot for your reply, I am using SBT version 0.12.3, below is the details for the SBT version that is used in the project

safwats-mbp: ~/git/google-play-crawler $ sbt about [info] Loading project definition from /Users/shassan/git/google-play-crawler/project [info] Set current project to googleplaycrawler (in build file:/Users/shassan/git/google-play-crawler/) [info] This is sbt 0.12.3 [info] The current project is {file:/Users/shassan/git/google-play-crawler/}GooglePlay [info] The current project is built against Scala 2.9.2 [info] Available Plugins: sbtprotobuf.ProtobufPlugin, sbtassembly.Plugin, com.typesafe.sbteclipse.plugin.EclipsePlugin [info] sbt, sbt plugins, and build definitions are using Scala 2.9.2

I read in your read me file that we should use SBT version 2.5, but I just run the normal command for installing SBT $ port install sbt and it installed sbt version 0.12.3.

So do you know how to install the SBT version 2.5? because I followed the steps for installing SBT that were mentioned in the website http://www.scala-sbt.org/release/tutorial/Setup.html bt it installs SBT version 0.12.3

Thanks,

atiqsayyed commented 9 years ago

@SafwatHassan 2.5 is the version of protobuf not the SBT.

If you're using ubuntu use this to install protobuf 2.5 http://www.confusedcoders.com/random/how-to-install-protocol-buffer-2-5-0-on-ubuntu-13-04

after you've installed it make sure sbt resolves all the dependency..

for resolving dependency you can use : sbt update command

The way i see it, the dependencies are not resolved