hydrasdk-demo-android icon indicating copy to clipboard operation
hydrasdk-demo-android copied to clipboard

Android SDK Issues - Could not find openvpn-aar-0.18.2.jar

Open xoventechdev opened this issue 2 years ago • 3 comments

  • What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find openvpn-aar-0.18.2.jar (com.github.AnchorFree.hydra-vpn-android:openvpn-aar:0.18.2). Searched in the following locations: https://jitpack.io/com/github/AnchorFree/hydra-vpn-android/openvpn-aar/0.18.2/openvpn-aar-0.18.2.jar

xoventechdev avatar May 15 '22 10:05 xoventechdev

Execution failed for task ':app:compileDebugJavaWithJavac'.

Could not resolve all files for configuration ':app:debugCompileClasspath'. Could not find openvpn-aar-0.18.2.jar (com.github.AnchorFree.hydra-vpn-android:openvpn-aar:0.18.2). Searched in the following locations: https://jitpack.io/com/github/AnchorFree/hydra-vpn-android/openvpn-aar/0.18.2/openvpn-aar-0.18.2.jar

Possible solution:

  • Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

HardikBT avatar Jun 21 '22 08:06 HardikBT

`buildscript { repositories { gradlePluginPortal() mavenCentral() jcenter() maven { url 'https://maven.google.com' } maven { url "https://jitpack.io" } google()

}
dependencies {
    classpath 'com.android.tools.build:gradle:4.1.3'
    classpath 'com.google.gms:google-services:4.3.8'
    classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
}

}

allprojects { repositories { mavenCentral() google() jcenter() maven { url 'https://maven.google.com' } maven { url "https://jitpack.io" credentials { username "48a9b4c06b5dabbc03328ddcdbb7dfd8fab253ae" } } gradlePluginPortal()

}

}

task clean(type: Delete) { delete rootProject.buildDir } `

Still i'm same issues...... Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find openvpn-aar-0.18.2.jar (com.github.AnchorFree.hydra-vpn-android:openvpn-aar:0.18.2). Searched in the following locations: https://jitpack.io/com/github/AnchorFree/hydra-vpn-android/openvpn-aar/0.18.2/openvpn-aar-0.18.2.jar

xoventechdev avatar Jun 30 '22 13:06 xoventechdev