2
I’m trying to implement the Secure Pag API on my system, I was looking at the step by step that it asks to download the repository on Github, then access the folder source and then execute the following command gradle build, and then import the libs for the project, however at the time I execute the gradle build it returns me the following error:
Does anyone know how to solve?
Note: I am using Ubuntu.
Description link: https://github.com/pagseguro/pagseguro-java-sdk

This has already happened something like me using Gradle, however, my development environment was different from yours. I was using the android studio SDK. I decided to install Javaruntime 6 (current is 8). I didn’t uninstall 8, I just installed 6. Try to do this, and if it works out, make an answer to yourself detailing everything, so that others don’t go through the same problem.
– Paulo Sérgio Duff
Here ok, I’m with openjdk 1.8.0_131. I only had to include other repositories because by default they didn’t resolve some dependencies. Try running with
--stacktraceor--infoto see if log helps. See which is java in classpath and include it in the question as well– Bruno César