Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android上的Appcelerator-C2dm_Android_Titanium_Push Notification_Appcelerator_Android C2dm - Fatal编程技术网

Android上的Appcelerator-C2dm

Android上的Appcelerator-C2dm,android,titanium,push-notification,appcelerator,android-c2dm,Android,Titanium,Push Notification,Appcelerator,Android C2dm,我一直在尝试为titanium studio安装C2dm模块,发现如下: 我一直有问题。当我按照此处所述进行设置时: 我一直收到一个错误,它无法找到模块(在运行时)。错误内容如下: 位置:[357,0]/tmp/module.js消息:错误:请求的模块未启动 找到:com.findlaw.titanium.cd2m(/tmp/module.js357) 我确实在我的资料中找不到这个文件,因为我的项目中没有tmp文件夹。我最初将上面论坛帖子中的xml代码放在timodule.xml文件中,它导致了

我一直在尝试为titanium studio安装C2dm模块,发现如下:

我一直有问题。当我按照此处所述进行设置时:

我一直收到一个错误,它无法找到模块(在运行时)。错误内容如下:

位置:[357,0]/tmp/module.js消息:错误:请求的模块未启动 找到:com.findlaw.titanium.cd2m(/tmp/module.js357)

我确实在我的资料中找不到这个文件,因为我的项目中没有tmp文件夹。我最初将上面论坛帖子中的xml代码放在timodule.xml文件中,它导致了这个运行时错误。当我将其切换到tiapp.xml文件时,出现以下错误:

[错误]模块中“com.findlaw.tianium.c2dm”的“apiversion” 清单不是有效的值。请使用以下模块的版本: 在其清单文件中设置了2或更大的“apiversion”值

当我尝试使用ant手动构建模块时,我得到:

构建失败/Users/sammy/Downloads/IGx89-titanium-c2dm-3b05b8a 2/build.xml:9:找不到/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/module/android/build.xml 从/Users/sammy/Downloads/IGx89-titanium-c2dm-3b05b8a导入 2/build.xml


我检查了,build.xml文件位于错误中显示的文件夹中。我有点不知所措,不知该怎么办…

该模块不支持您正在使用的Tianium Mobile版本(1.8.0.1或更高版本)。您必须自己更新它,或者找到另一个C2DM模块

此处提供了移植到1.8.0.1的指南: