关闭

"xxx" is not translated in "en" (English)

标签: androidandroid studioapphtmlgradle
1142人阅读 评论(0) 收藏 举报
分类:

错误描述:

Error:(4) Error: “ssdk_instapager_login_html” is not translated in “en” (English) [MissingTranslation]

(1)Android studio :在build.gradle(app)添加

 lintOptions{
     checkReleaseBuilds false
     abortOnError false
 }

即添加后:

apply plugin: 'com.android.application'  

android {  
    compileSdkVersion 21  
    buildToolsVersion "21.1.2"  

    defaultConfig {  
        applicationId "com.czz.sharedemo"  
        minSdkVersion 11  
        targetSdkVersion 21  
        versionCode 1  
        versionName "1.0"  
    }  
    buildTypes {  
        release {  
            minifyEnabled false  
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'  
        }  
    }  

    lintOptions{  
        checkReleaseBuilds false  
        abortOnError false  
    }  

    packagingOptions {  
        exclude 'META-INF/NOTICE'  
        exclude 'META-INF/LICENSE'  
    }  
}  

dependencies {  
    compile fileTree(dir: 'libs', include: ['*.jar'])  
    compile 'com.android.support:appcompat-v7:21.0.3'  
} 

(2)Eclipse :
Eclipse > Preference > Android > Lint Error Checking的Correctness: Messages > MissingTranslate
将 Severity 从 Fetal 改为 Warming

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:2283次
    • 积分:119
    • 等级:
    • 排名:千里之外
    • 原创:10篇
    • 转载:1篇
    • 译文:0篇
    • 评论:0条
    文章分类
    文章存档