嗨,我是 phonegap/cordova 开发的新手,我尝试在我的应用程序中实现push notifications
using Google Cloud Services
。当我尝试运行我的简单应用程序时,出现此错误:
Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/google/android/gcm/GCMBaseIntentService;
并注意我的项目文件夹中有一个红色project explorator
标记eclipse
。我已经添加GCM
并SDK
添加gcm.jar
到我的libs/
文件夹中。我也Google API level 17
用于我的项目和emulator
配置。我跟着这个教程。在本教程中推荐使用 Google API,但是当我将其更改为简单的 Android Api 时,红色标记会消失
您对此类问题有任何想法吗!?