How can I add module dependency in android studio?
When I add module dependencies there is no module to add?
My android studio version : 3.6.1
build.gradle file
 apply plugin: 'com.android.application'
android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"
 defaultConfig {
    applicationId "com.example.thu"
    minSdkVersion 14
    targetSdkVersion 29
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android- 
optimize.txt'), 'proguard-rules.pro'
    }
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation project(path: ':java')  //i edited here try this
}
error:
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could 
not resolve project :java.
Show Details
Affected Modules: app
How can I solve this?






 
     
    
