Software Archive
Read-only legacy content
17060 Discussions

How to add to the AndroidManifest.xml file - Plugin installation

Daniel_B_9
Beginner
486 Views

Hello,

I am trying to install the following plugin. https://github.com/mrwutong/cordova-qdc-baidu-push

In order for it to work, I must add

android:name="com.baidu.frontia.FrontiaApplication"

to the application tag of the AndroidManifest.xml file. Is this possible?

 

Thank you for your time.

0 Kudos
3 Replies
Brandon_K_Intel
Employee
486 Views

Have you tried adding your third party plugin through the build settings in the project tab? This would be my first suggestion.

0 Kudos
Daniel_B_9
Beginner
486 Views

Brandon Kiefer (Intel) wrote:

Have you tried adding your third party plugin through the build settings in the project tab? This would be my first suggestion.

Sorry for not specifying.

I've added the plugin successfully, and it compiles to android without a problem (after I modified one of the .java files of the plugin).

The problem is that the app crashes frequently. Every few minutes, I get a dialog on my phone saying "Unfortunately ____ has stopped working". However, the app window stays open and responsive. So I'm assuming that this the Baidu push plugin crashing in the background.

 

Anyway, as part of the plugin installation, I'm supposed to modify the AndroidManifest xml. How do I do this in xdk?

0 Kudos
Anusha_M_Intel1
Employee
486 Views

Hi Daniel,

Check out Question 14 on our FAQs page. It answers your question.

https://software.intel.com/en-us/xdk/faqs/general

Q14: Is it possible to modify Android* Manifest through Intel XDK?

0 Kudos
Reply