有谁知道为什么在Android Studio中同步Gradle会导致某些类不被包含?每次我执行Gradle Sync时,它都会切换识别哪些类:
以下是我的build.gradle文件中的依赖项:
dependencies {
testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile "org.mockito:mockito-core:1.+"
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.9.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.9.0'
compile group: 'org.jgrapht', name: 'jgrapht-ext', version:'1.1.0'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.7.3'
compile 'com.fasterxml.jackson.core:jackson-core:2.7.3'
compile 'com.fasterxml.jackson.core:jackson-databind:2.7.3'
compile 'com.google.googlejavaformat:google-java-format:1.4'
compile 'com.google.guava:guava:21.0'
compile 'ttr.shared:ticket-to-ride-shared:6.8'
}