سؤال

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?

هل كانت مفيدة؟

المحلول

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.
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top