AndroidTacticalAssaultKit-CIV icon indicating copy to clipboard operation
AndroidTacticalAssaultKit-CIV copied to clipboard

gradle build failure due missing dependencies

Open satish-centrifuge opened this issue 2 years ago • 4 comments

Hello,

I have successfully installed all the dependencies, thirdparty libs. When I run the 'assembleCivDebug' gradle task (on a Linux machine) from atak directory, I am getting the following error. It's trying to fetch some dependencies from localhost. Any help is greatly appreciated.

FAILURE: Build failed with an exception.

  • Where: Script '/home/xxxxx/projects/xxxx/AndroidTacticalAssaultKit-CIV/takkernel/gradle/javah.gradle' line: 136

  • What went wrong: Could not determine the dependencies of task ':takkernel:engine:preExternalNativeBuild'.

Could not create task ':takkernel:engine:generateJniHeaders'. Could not resolve all files for configuration ':takkernel:engine:debugCompileClasspath'. > Could not resolve gov.tak.thirdparty:takthirdparty:2.5.1. Required by: project :takkernel:engine > Could not resolve gov.tak.thirdparty:takthirdparty:2.5.1. > Could not get resource 'http://localhost/gov/tak/thirdparty/takthirdparty/2.5.1/takthirdparty-2.5.1.pom'. > Could not GET 'http://localhost/gov/tak/thirdparty/takthirdparty/2.5.1/takthirdparty-2.5.1.pom'. > Connect to localhost:80 [localhost/127.0.0.1] failed: Connection refused (Connection refused) > Could not resolve gov.tak.thirdparty:libLAS:1.8.2b1. Required by: project :takkernel:engine > Could not resolve gov.tak.thirdparty:libLAS:1.8.2b1. > Could not get resource 'http://localhost/gov/tak/thirdparty/libLAS/1.8.2b1/libLAS-1.8.2b1.pom'. > Could not GET 'http://localhost/gov/tak/thirdparty/libLAS/1.8.2b1/libLAS-1.8.2b1.pom'. > Connect to localhost:80 [localhost/127.0.0.1] failed: Connection refused (Connection refused)

Thanks!

satish-centrifuge avatar Sep 12 '22 13:09 satish-centrifuge

This is a conan and ssl version incompatibility issue. Basically set verify_ssl: false in ~/.conan/remotes.json for "url": "http://localhost"

ahmadnav avatar Sep 12 '22 18:09 ahmadnav

I have the same issue, changing the remote.json for conan doesn't work for me

robgardien avatar Jan 06 '23 13:01 robgardien

I'm having this issue as well, has there been any resolution? (Ubuntu 20.04)

ryanalex98 avatar Jan 23 '23 08:01 ryanalex98

Anyone figure out this issue?

JosephKhateri avatar Jun 21 '23 13:06 JosephKhateri