BB10 android runtime push notification

前提是你 提交于 2020-01-23 01:04:04

问题


I have followed this tutorial to enable push notification on android runtime but I am getting failure 830 android/android.cfg: unknown asset error when i try to deploy bar package into alpa device.

What can be the reason of that?


回答1:


The solution is to change the way of importing android.cfg file into the android project. First of all,

  • add android.cfg file into root of the android project folder and rename it as projectname.cfg. For example, if the application name is 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 bar file.


来源:https://stackoverflow.com/questions/14308274/bb10-android-runtime-push-notification

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!