本文介绍了BB10 Android运行时推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已按照本教程启用了Android运行时的推送通知但尝试将bar包部署到alpa设备时出现failure 830 android/android.cfg: unknown asset
错误.
I have followed this tutorial to enable push notification on android runtime butI am getting failure 830 android/android.cfg: unknown asset
error when i try to deploy bar package into alpa device.
这可能是什么原因?
推荐答案
解决方案是更改将android.cfg文件导入android项目的方式.首先,
The solution is to change the way of importing android.cfg file into the android project.First of all,
- 将android.cfg文件添加到android项目文件夹的根目录中,然后将其重命名为projectname.cfg.例如,如果应用程序名称是SamplePushApp,您的cfg文件的名称必须是SamplePushApp.cfg.
- 第二,使用Eclipse条签名器对应用程序进行签名.
- 之后,检查是否在bar下创建了android.cfg文件文件.
- add android.cfg file into root of the android project folder andrename it as projectname.cfg. For example, if the application nameis SamplePushApp, the name of your cfg file must be SamplePushApp.cfg.
- Secondly, sign your application using eclipse bar signer.
- After that, check out if the android.cfg file is created under barfile.
这篇关于BB10 Android运行时推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!