Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

open failed enoent error #154

Open
CoderoidAcademy opened this issue May 28, 2019 · 2 comments
Open

open failed enoent error #154

CoderoidAcademy opened this issue May 28, 2019 · 2 comments

Comments

@CoderoidAcademy
Copy link

hi. i use Androidx to using of sentinel. but when i want to connect to a vpn, i get this error
open failed ENOENT (No such file or directory).
why?

@CoderoidAcademy
Copy link
Author

Captusre

@CoderoidAcademy
Copy link
Author

my gradle

apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion '28.0.3'

sourceSets.main.jniLibs.srcDirs = ['./jni/']
sourceSets.main.assets.srcDirs = ['src/main/ovpnlibs/assets']
sourceSets.main.jni.srcDirs = [] //disable automatic ndk-build }

defaultConfig {
    applicationId "co.sentinel.sentinellite"
    minSdkVersion 16
    targetSdkVersion 27
    versionCode 1
    versionName '1.0'
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    // Enable Vector drawable
    vectorDrawables.useSupportLibrary = true
    // Enabling multidex support.
    multiDexEnabled true
    // Enable ndk abi filters
    ndk {
        abiFilters "armeabi-v7a", "arm64-v8a", "x86_64", "x86"
    }
}
buildTypes {
    release {
        minifyEnabled false
        useProguard false

// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}

lintOptions {
    checkReleaseBuilds false // Add this
    abortOnError false
}

}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
// Android Support Libs
// implementation "com.android.support:appcompat-v7:$supportLibVersion"
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta1'
// implementation "com.android.support:design:$supportLibVersion"
// implementation "com.android.support:cardview-v7:$supportLibVersion"
// implementation "com.android.support:support-v4:$supportLibVersion"
// Android Arch Components - ViewModel, LiveData & Room
implementation 'android.arch.lifecycle:extensions:1.1.1'
implementation 'android.arch.persistence.room:runtime:1.1.1'
annotationProcessor "android.arch.lifecycle:compiler:1.1.1"
annotationProcessor "android.arch.persistence.room:compiler:1.1.1"
// Google Play Services Lib
implementation 'com.google.android.gms:play-services-base:16.0.1'
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.11.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.0'
// GSON
implementation 'com.google.code.gson:gson:2.8.5'
// LoadingView
implementation 'com.wang.avi:library:2.1.3'
// FlagView
implementation 'com.github.KaKaVip:Android-Flag-Kit:v0.1'
// ViewPagerIndicator
implementation('com.tbuonomo.andrui:viewpagerdotsindicator:3.0.3') {
exclude group: 'com.android.support', module: 'support-dynamic-animation'
}
// Amplitude Analytics
implementation 'com.amplitude:android-sdk:2.21.0'
// Android Test Libs
implementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
// androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation "com.google.android.material:material:1.1.0-alpha06"
}

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

No branches or pull requests

1 participant