hydrasdk-demo-android
hydrasdk-demo-android copied to clipboard
Android SDK Issues - Could not find openvpn-aar-0.18.2.jar
- 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
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
`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