Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java compativility issue #20

Closed
xgear-public opened this issue Dec 26, 2016 · 5 comments
Closed

Java compativility issue #20

xgear-public opened this issue Dec 26, 2016 · 5 comments

Comments

@xgear-public
Copy link

Trying to build android project with speed-test-lib but during build got following error:

Error:Error converting bytecode to dex:
Cause: Dex cannot parse version 52 byte code.
This is caused by library dependencies that have been compiled using Java 8 or above.
If you are using the 'java' gradle plugin in a library submodule add
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
to that submodule's build.gradle file.

@xgear-public
Copy link
Author

Looks like issue appeared in 1.24. Project builded with 1.23 successfully.

@bertrandmartel
Copy link
Owner

bertrandmartel commented Dec 26, 2016

Hello, thank you I've released 1.25 that fixes this issue. It has already been released in JCenter, for MavenCentral it will sync soon.

@xgear-public
Copy link
Author

Thank you for your lib and blazing fast support!

@xgear-public
Copy link
Author

@bertrandmartel I want to integrate your library into android project. Approximately users will generate 10k - 50k speed test requests daily(world wide). Can i rely on server list you described in README? Maybe you can sugges servers(way of choosing test-servers) that fit my case?

@bertrandmartel
Copy link
Owner

bertrandmartel commented Dec 26, 2016

From server_list.md, you have a few examples . You could choose the right server depending on the country you could find in speedtest.net server list for instance in http://www.speedtest.net/speedtest-servers.php. You also want to choose a server with low latency (ping response)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants