相关疑难解决方法(0)

错误:无法在单个dex文件中放入请求的类.请尝试提供main-dex列表.#methods:72477> 65536

我想添加融合位置服务,但它显示了一些错误.帮我.

apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion "27.0.1"
    defaultConfig {
        applicationId "com.example.adil.bloodbankapplication"
        minSdkVersion 15
        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(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:appcompat-v7:26.1.0'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.google.firebase:firebase-auth:11.8.0'
    compile 'com.google.firebase:firebase-database:11.8.0'
    compile 'com.android.support:support-v4:26.1.0'
    compile 'junit:junit:4.12'
    compile 'com.android.support:design:26.1.0'
    compile 'com.github.joielechong:countrycodepicker:2.1.5'
    compile 'com.jaredrummler:material-spinner:1.2.4'
    compile 'hanks.xyz:htextview-library:0.1.5'
    compile 'com.firebaseui:firebase-ui-database:1.2.0'
    compile 'com.google.android.gms:play-services:11.8.0'
}


apply plugin: 'com.google.gms.google-services'
Run Code Online (Sandbox Code Playgroud)

android android-multidex

194
推荐指数
26
解决办法
15万
查看次数

IntelliJ IDEA:断点未被击中,并且没有勾选,只显示一个红点

首先,我发现的最相似的问题是这个Intellij IDEA:断点未被击中,并且显示为灰色,但这不是完全相同的情况.

我有一个gradle项目,当我放置一个断点时,它显示为一个红点,里面有一个勾号,它只是工作正常.

工作断点

问题是在某些类中(在同一个项目中,而不是依赖类),红点内部没有勾号,并且它没有说明为什么它不起作用.它只是不起作用..:

在此输入图像描述

到目前为止我尝试了什么:

  • Gradle清洁和构建
  • 重建项目
  • 重启调试
  • 使高速缓存无效并重新启动IntelliJ
  • 将IntelliJ更新到最新版本(2017.2.5)
  • 静音和取消静音断点

java debugging intellij-idea

24
推荐指数
2
解决办法
2万
查看次数