• 05-08-2019, 17:09:22
    #1
    Üyeliği durduruldu
    Arkadaşlar merhaba,

    app/build.gradle kısmından paket adını değiştirince hata almaya başladım.

    "INFO: The following project options are deprecated and have been removed:
    android.useDeprecatedNdk
    NdkCompile is no longer supported
    Affected Modules: app"

    uyarısı veriyor.

    gradle silip güncelledim ama düzeltemedim.

    app/build.gradle dosyam budur. hata nerde?

    apply plugin: 'com.android.application'
    
    android {
        compileSdkVersion 27
        defaultConfig {
            applicationId "com.uygulma.adi"
            minSdkVersion 14
            targetSdkVersion 27
            versionCode 1
            versionName "1.0"
            multiDexEnabled true
    
    
        }
    
        dexOptions {
            // Prevent OutOfMemory with MultiDex during the build phase
            javaMaxHeapSize "4g"
        }
    
        buildTypes {
            release {
                minifyEnabled false
                shrinkResources false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
            }
    
    
        }
        sourceSets.main {
            jni.srcDirs = []// <-- disable automatic ndk-build call
        }
    }
    
    dependencies {
        implementation 'com.google.android.gms:play-services:+'exclude module: 'support-v4'
        implementation 'com.parse:parse-android:1.10.3'
        implementation 'com.android.support:multidex:1.0.1'exclude module: 'support-v4'
        implementation 'com.google.android.ads.consent:consent-library:1.0.3'
    }
  • 07-08-2019, 04:26:11
    #2
    gradle.properties içine gir şu kodu ekle en alta
    android.useDeprecatedNdk=true
  • 07-08-2019, 04:32:14
    #3
    Üyeliği durduruldu
    o dosya vardı silince düzeldi.