Android Studio Package: "App_name" is not translated in en, zh_cn .... Solutions

Source: Internet
Author: User

Starting with Android Studio update to 2.0 stable version, debugging when there is no problem, in the packaging when the "App_name" is not the translated in En, zh_cn ...., the problem is that localization is incomplete meaning.
In the final analysis, this is the time to pack the problem, so the hint is also clear, is to change the configuration. Here's how to fix it:
Open the project directory under the Build.gradle file (this is the Gradle configuration file, Gradle is the compilation tool), and then follow the prompts a brain to add all the new parameters to Android inside.

[HTML]View PlainCopy
    1. <span style="FONT-SIZE:18PX;" >android {
    2. ...
    3. lintoptions{
    4. Checkreleasebuilds false
    5. Abortonerror false
    6. }
    7. }</span>

It's not a problem to pack. Checkreleasebuilds is in the packaging release version of the time to detect, here directly turned off, you can also open, so that the error will be displayed. The key is Abortonerror must be set to false, so that even if there is an error will not stop packaging.

Description: About the use of tools, and error handling, there are many online solutions, here only to do a pro-test feasible scheme, recorded in the blog, only as a summary, collation .....

Android Studio Package: "App_name" is not translated in en, zh_cn .... Solutions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.