Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xoventechdev opened this issue May 15, 2022 · 3 comments
Open

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

xoventechdev opened this issue May 15, 2022 · 3 comments

Comments

@xoventechdev
Copy link

  • 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

@HardikBT
Copy link

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:

@xoventechdev
Copy link
Author

`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

@Flutter783
Copy link

when i try set sdk 34 and run this code in android version 14 then this error come
Process: com.xvvpn.privatevpn, PID: 31932
java.lang.RuntimeException: Unable to get provider com.anchorfree.sdk.UnifiedSDKInitProviderMain: java.lang.SecurityException: com.xvvpn.privatevpn: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
at android.app.ActivityThread.installProvider(ActivityThread.java:7926)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants