Android Studio Google端点导致意外的顶级异常

Android Studio Google端点导致意外的顶级异常,android,google-app-engine,android-studio,Android,Google App Engine,Android Studio,我搜索了很久,以确定当我试图在模拟器上运行应用程序时,我的google endpoints模块为什么会导致意外的异常 研究表明,一个图书馆被多次调用。但在这方面,我没有发现明显的错误: 我的应用程序build.gradle: compile project(path: ':kk_endpoint', configuration: 'android-endpoints') compile'com.android.support:appcompat-v7:22.2.0' compile 'com.

我搜索了很久,以确定当我试图在模拟器上运行应用程序时,我的google endpoints模块为什么会导致意外的异常

研究表明,一个图书馆被多次调用。但在这方面,我没有发现明显的错误:

我的应用程序build.gradle:

compile project(path: ':kk_endpoint', configuration: 'android-endpoints')

compile'com.android.support:appcompat-v7:22.2.0'
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.android.support:cardview-v7:22.2.0'
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'com.squareup.picasso:picasso:2.3.2'
appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.19'
compile 'com.google.appengine:appengine-endpoints:1.9.19'
compile 'com.google.appengine:appengine-endpoints-deps:1.9.19'
compile 'javax.servlet:servlet-api:2.5'
compile 'com.googlecode.objectify:objectify:5.1.1'
compile 'com.ganyo:gcm-server:1.0.2'
以及我的Google endpoint module build.gradle:

compile project(path: ':kk_endpoint', configuration: 'android-endpoints')

compile'com.android.support:appcompat-v7:22.2.0'
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.android.support:cardview-v7:22.2.0'
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'com.squareup.picasso:picasso:2.3.2'
appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.19'
compile 'com.google.appengine:appengine-endpoints:1.9.19'
compile 'com.google.appengine:appengine-endpoints-deps:1.9.19'
compile 'javax.servlet:servlet-api:2.5'
compile 'com.googlecode.objectify:objectify:5.1.1'
compile 'com.ganyo:gcm-server:1.0.2'

很明显,没有人在面对面上两次呼叫。这个问题的原因可能是什么?

经过数小时的研究,我发现问题来自番石榴果酱,我需要做的就是排除该果酱:

compile (project(path: ':kk_endpoint', configuration: 'android-endpoints')) {
exclude(module: 'guava-jdk5')
}
请注意,括号必须与上述内容完全相同,否则将不起作用

compile project(path: ':kk_endpoint', configuration: 'android-endpoints'){  
exclude(module: 'guava-jdk5')}
不起作用。 我希望这有助于节省时间