未在Android Studio 3.0.1中指定的模块

时间:2018-03-27 18:16:47

标签: android android-studio gradle android-gradle gradle-plugin

刚迁移到Android Studio 3.当我想在android using this中嵌入一个统一应用时,我一直在运行 模块未指定 错误。 请注意,此过程在迁移到Android Studio 3之前就已正常使用。

apply plugin: com.android.application

android {
    compileSdkVersion 26
    buildToolsVersion '26.0.2'
    defaultConfig {
        applicationId "yenettaapp.beblocky"
        minSdkVersion 24
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }}dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])


    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile project(":BeBlockyMobi-debug")
    compile project(":my_bebot_plugin-release")
    implementation 'com.github.ericwlange:AndroidJSCore:3.0.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.android.support:appcompat-v7:26.0.1'
    compile 'com.android.support:recyclerview-v7:26.0.1'
    compile 'com.android.support:support-v4:26.0.1'
    compile 'com.google.blockly.android:blocklylib-vertical:0.9-beta.20170824'
    testCompile 'junit:junit:4.12'
}

0 个答案:

没有答案