0

嗨,我是 phonegap/cordova 开发的新手,我尝试在我的应用程序中实现push notificationsusing Google Cloud Services。当我尝试运行我的简单应用程序时,出现此错误:

  Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/google/android/gcm/GCMBaseIntentService;

并注意我的项目文件夹中有一个红色project explorator标记eclipse。我已经添加GCMSDK添加gcm.jar到我的libs/文件夹中。我也Google API level 17用于我的项目和emulator配置。我跟着这个教程。在本教程中推荐使用 Google API,但是当我将其更改为简单的 Android Api 时,红色标记会消失

您对此类问题有任何想法吗!?

4

0 回答 0