NoClassDefFoundError: com.exacttarget.etpushsdk.ETLocationManager$RegionMonitor

NoClassDefFoundError: com.exacttarget.etpushsdk.ETLocationManager$RegionMonitor

我收到一个奇怪的问题,我不知道是 Android 相关还是 SDK 相关。问题是,我按照说明添加 ExactTarget Journey Builder SDK (https://github.com/ExactTarget/JB4A-SDK-Android/) , instructions from here: https://code.exacttarget.com/apis-sdks/journey-builder-for-apps/sdk-implementation/register-your-devices.html

但是,当我启用 LocationService 时,我收到了这个奇怪的错误:

java.lang.RuntimeException: An error occured while executing doInBackground()
            at android.os.AsyncTask.done(AsyncTask.java:300)
            at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
            at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
            at java.util.concurrent.FutureTask.run(FutureTask.java:242)
            at android.os.AsyncTask$SerialExecutor.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:818)
     Caused by: java.lang.NoClassDefFoundError: com.exacttarget.etpushsdk.ETLocationManager$RegionMonitor
            at com.exacttarget.etpushsdk.ETLocationManager.<init>(ETLocationManager.java:177)
            at com.exacttarget.etpushsdk.ETLocationManager.readyAimFire(ETLocationManager.java:216)
            at com.exacttarget.etpushsdk.ETPush.doInBackground(ETPush.java:215)
            at com.exacttarget.etpushsdk.ETPush.doInBackground(ETPush.java:187)
            at android.os.AsyncTask.call(AsyncTask.java:288)
            at java.util.concurrent.FutureTask.run(FutureTask.java:237)
            at android.os.AsyncTask$SerialExecutor.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:818)

可能是什么?我正在使用 Android 工作室和所有依赖项,如说明。

回滚播放服务版本,下一个更改为我解决了问题。

build.gradle

    ...
    dependencies {
    ...
    //  use old instead of new because ET location service does not work on new one
    //  compile 'com.google.android.gms:play-services:7.5.0'
        compile 'com.google.android.gms:play-services:6.1.71'
    }