bertrandmartel / speed-test-lib

:cloud: JSpeedTest : speed test client library for Java/Android
MIT License
381 stars 119 forks source link

Cannot resolve symbol HttpFrame #15

Closed mvauclare closed 7 years ago

mvauclare commented 7 years ago

Hello,

I try to use this library in an android studio project.

When I try to compile for a run on my test tablet, I have an error : in file : SpeedTestTask.java on line : final HttpFrame httpFrame = new HttpFrame();

HttpFrame seems to doesn't exist.

Is there anything to import before ?

Thank you,

mvauclare commented 7 years ago

I reply to my question :

As it was perfectly explained in the readme http-endec external library is necessary to run (https://github.com/akinaru/http-endec)

bertrandmartel commented 7 years ago

Hello,

The recommended way would be to integrate with Gradle or Maven if you can afford it : http://search.maven.org/#artifactdetails%7Ccom.github.akinaru%7Cspeedtest%7C1.23%7C This way, it's much easier to deal with dependencies and to update the library version in case you want to try a higher version

Note that the complete dependency list is :

<dependencies>
    <dependency>
      <groupId>commons-net</groupId>
      <artifactId>commons-net</artifactId>
      <version>3.5</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>akinaru</groupId>
      <artifactId>http-endec</artifactId>
      <version>1.02</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>