Error when running cordova build –release android

后端 未结 8 1419
野趣味
野趣味 2020-12-25 10:35

I\'m trying to publish my Android app by following the instructions here:

http://ionicframework.com/docs/guide/publishing.html

However, when I run cordova bu

8条回答
  •  情深已故
    2020-12-25 11:15

    If your build failed because of MissingTranslation issues, and if the string should not be translated, you can add the attribute translatable="false" on that element in /platforms/android/app/src/main/res/values/strings.xml file.

    So, if the strings in the strings.xml file is like this:

    Your App Name
    @string/app_name
    @string/launcher_name
    

    Edit them to look like this:

    Your App Name
    @string/app_name
    @string/launcher_name
    

    This solution worked for me.

提交回复
热议问题