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

Build failed on AndroidStudio #144

Open
eyalmnm opened this issue Sep 21, 2020 · 0 comments
Open

Build failed on AndroidStudio #144

eyalmnm opened this issue Sep 21, 2020 · 0 comments

Comments

@eyalmnm
Copy link

eyalmnm commented Sep 21, 2020

Hi,
While trying to run build in my AS with the following config:
`apply plugin: 'com.android.application'

android {
compileSdkVersion 'Google Inc.:Google APIs:15'
buildToolsVersion "30.0.2"

defaultConfig {
    applicationId "org.onaips.vnc"
    minSdkVersion 23
    targetSdkVersion 30
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_5
        targetCompatibility JavaVersion.VERSION_1_5
    }
}

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
    }
}
externalNativeBuild {
    ndkBuild {
        path file('../../../droidVncServer-master/jni/Android.mk')
    }
}

}

dependencies {
compile files('libs/GoogleAdMobAdsSdk-6.0.1.jar')
}
Using NDK version 21.3.6528147 got the following errors: :11:9: error: unknown directive
:2:9: error: unknown directive
:11:9: error: unknown directive
:2:9: error: unknown directive
:11:9: error: unknown directive
:2:9: error: unknown directive
:11:9: error: unknown directive
:2:9: error: unknown directive
:11:9: error: unknown directive
:2:9: error: unknown directive
:11:9: error: unknown directive
:2:9: error: unknown directive
:11:9: error: unknown directive
:2:9: error: unknown directive
`

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

No branches or pull requests

1 participant