Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intel xdk添加插件后,调试出以下错误,求高人帮忙 #12

Open
YangWenChaoTony opened this issue Dec 15, 2015 · 2 comments

Comments

@YangWenChaoTony
Copy link

报的是native代码与crodova交互出错。如图,那位高人帮忙解答一下,用的jquerymobile,intel xdk开发环境

default

@YangWenChaoTony
Copy link
Author

action android:name="$PACKAGE_NAME.PUSH_ACTION"
$PACKAGE_NAME取到的包名和manifest里的package不一致,写死后就好了。
可为啥会不一致呢?

@gengen1988
Copy link
Member

我的经验是:$PACKAGE_NAME 与 cordova.xml 里的 widget id 是一致的。

如果 widget id 有变更,需要删除 cordova 的 platforms 和 plugins 的文件夹,再执行 cordova platform add android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants