Error:(24) Error: "main_title" is not translated in "zh" (Chinese) [MissingT

1. 概述


在使用AndroidStudio给apk打签名包时候,有时候会报如下错误,


图片.png

在app下的build.gradle中的android标签下添加

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"
    defaultConfig {
        applicationId "cn.uploo.yky"
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    //  解决上边错误
    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
}

你可能感兴趣的:(Error:(24) Error: "main_title" is not translated in "zh" (Chinese) [MissingT)