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

错误描述:

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

阅读更多
个人分类: android
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

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

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭