android studio Failed to query the value of property 'applicationId'

Viewed 3359

hello little question i have a problem when i build the graddle i have this error and i don't know how to fix it do you know what it was? the graddle comes from a feature ^^

error:

Execution failed for task ':features:module_astronomie:createDebugCompatibleScreenManifests'.
 Failed to calculate the value of task ':features:module_astronomie:createDebugCompatibleScreenManifests' property 'applicationId'.
   Failed to query the value of property 'applicationId'.
     Collection has more than one element.

my graddle file:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "descartes.info.l3ag2.descartes.info.l3ak2.eyetrek"
        minSdkVersion 23
        targetSdkVersion 28
        versionCode 6
        versionName "6.0"
        testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
        renderscriptTargetApi 28 //must match target sdk and build tools
        renderscriptSupportModeEnabled true
    }
    lintOptions {
        abortOnError false
        checkReleaseBuilds false
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        intermediaire {
        }
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    buildToolsVersion = '28.0.3'
}

dependencies{}

my AndroidManifest.xml :

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="org.opencv"
    android:versionCode="5"
    android:versionName="0.5.1.1 eyetrek_dev"
    >
</manifest>
0 Answers
Related