Search code examples
androidandroid-studiogradlelibgdx

How can I import the kryonet library without "compile: " from gradle?


I try to add the kryonet library with jar file, but I don't know how it must be added correctly in android-studio, libgdx project. https://github.com/EsotericSoftware/kryonet


Solution

  • I just added compile files('path/to/library.jar') in dependencies in each module and all worked.