How to add string resources to strings.xml in the Cordova project

When cordova build android is issued, the build.gradle file will be automatically generated.
I want this script to insert a variable into the strings.xml file. I can add resValue to build.gradle OK to accomplish this, but I don’t want to change the automatically generated file.
Is there anyway to achieve this goal?
You can add this string in plugin.xml.


Pick any option...< br />

When cordova build android is issued, the build.gradle file is automatically generated.
I want this script to insert a variable into strings .xml file. I can do this by adding a resValue line to build.gradle, but I don’t want to change that auto-generated file.
Is there anyway to achieve this?

You can add this string in plugin.xml.


Pick any option...

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3784 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.