Giter Site home page Giter Site logo

Error when compiling. about pokemate HOT 9 CLOSED

swipex avatar swipex commented on July 26, 2024
Error when compiling.

from pokemate.

Comments (9)

SwipeX avatar SwipeX commented on July 26, 2024 2

just do file-> new project from vcs -> github -> paste in git link to this repo -> run gradle.build -> profit

from pokemate.

SwipeX avatar SwipeX commented on July 26, 2024 1

You need gradle, I would reccommend IntellIJ IDEA

from pokemate.

jeffsnow88 avatar jeffsnow88 commented on July 26, 2024

thanks for your info. I have it installed but the error keeps. As per the error, its appears that the could was not able to make some imports. Any other idea?

from pokemate.

SwipeX avatar SwipeX commented on July 26, 2024

Do you have Java 8? Is the project imported under Gradle?

from pokemate.

jeffsnow88 avatar jeffsnow88 commented on July 26, 2024

Now i see, I have not created a project, i was trying to execute compiling via javac on cmd (jdk 8.0 is installed). I will download the gradle that you mentioned.

from pokemate.

SwipeX avatar SwipeX commented on July 26, 2024

It comes pre bundled.

from pokemate.

jeffsnow88 avatar jeffsnow88 commented on July 26, 2024

Managed to compile it with your help! Thanks. However, getting error when trying to log in:

Logged in as [email protected]
com.pokegoapi.exceptions.LoginFailedException
at com.pokegoapi.auth.GoogleLogin.login(GoogleLogin.java:103)
at dekk.pw.pokemate.Context.Login(Context.java:46)
at dekk.pw.pokemate.Context.Login(Context.java:38)
at dekk.pw.pokemate.PokeMate.(PokeMate.java:39)
at dekk.pw.pokemate.PokeMate.main(PokeMate.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Exception in thread "main" java.lang.NullPointerException
D/RequestHandler: Authenticated with static token
at POGOProtos.Networking.Envelopes.RequestEnvelopeOuterClass$RequestEnvelope$Builder.setAuthInfo(RequestEnvelopeOuterClass.java:2451)
at com.pokegoapi.main.RequestHandler.resetBuilder(RequestHandler.java:255)
at com.pokegoapi.main.RequestHandler.resetBuilder(RequestHandler.java:241)
at com.pokegoapi.main.RequestHandler.(RequestHandler.java:64)
at com.pokegoapi.api.PokemonGo.(PokemonGo.java:64)
at dekk.pw.pokemate.PokeMate.(PokeMate.java:41)
at dekk.pw.pokemate.PokeMate.main(PokeMate.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

Process finished with exit code 1

from pokemate.

jeffsnow88 avatar jeffsnow88 commented on July 26, 2024

working, i think it was proxy issues, Thanks a lot man,

from pokemate.

eBunny6 avatar eBunny6 commented on July 26, 2024

@jeffsnow88 How did u resolve that proxy issues?

from pokemate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.