简体   繁体   English

无法正确添加Urban Airship PhoneGap / Cordova插件

[英]Can not correctly add Urban Airship PhoneGap/Cordova Plugin

I need to include Urban Airship PhoneGap/Cordova Plugin to my Visual Studio Cordova project. 我需要在我的Visual Studio Cordova项目中包括Urban Airship PhoneGap / Cordova插件 Visual studio successfully built the apk file, and installed it on emulator and went to debug mode. Visual Studio成功构建了apk文件,并将其安装在模拟器上,并进入调试模式。 When app is launched, the crash happens and I only see message box saying The application error occurred . 启动应用程序时,发生崩溃,并且我仅看到消息框,指出The application error occurred

I understand that the crash reason is incorrect plugin including. 我了解崩溃原因是包含不正确的插件。 Here is the confix.xml , log of building and Visual Studio -built AndroidManifest.xml (from \\bld\\Debug) . 这是confix.xml ,构建日志和Visual Studio构建的AndroidManifest.xml (来自\\ bld \\ Debug)

Please help correctly include this plugin. 请帮助正确包含此插件。

Without crash logs its hard to say. 没有崩溃日志很难说。 Usually the problem is with the custom_rules.xml file not being deleted in the root of the Phonegap Android project. 通常,问题在于在Phonegap Android项目的根目录中没有删除custom_rules.xml文件。 It prevents libraries that contain resources from being packaged properly. 它防止包含资源的库被正确打包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM