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

来源:互联网 发布:可靠性软件 编辑:程序博客网 时间:2024/05/16 12:30

(1)android studio :在build.gradle添加

    lintOptions{
        checkReleaseBuilds false
        abortOnError false
    }

  1. apply plugin: 'com.android.application'  
  2.   
  3. android {  
  4.     compileSdkVersion 21  
  5.     buildToolsVersion "21.1.2"  
  6.   
  7.     defaultConfig {  
  8.         applicationId "com.czz.sharedemo"  
  9.         minSdkVersion 11  
  10.         targetSdkVersion 21  
  11.         versionCode 1  
  12.         versionName "1.0"  
  13.     }  
  14.     buildTypes {  
  15.         release {  
  16.             minifyEnabled false  
  17.             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'  
  18.         }  
  19.     }  
  20.   
  21.     lintOptions{  
  22.         checkReleaseBuilds false  
  23.         abortOnError false  
  24.     }  
  25.   
  26.     packagingOptions {  
  27.         exclude 'META-INF/NOTICE'  
  28.         exclude 'META-INF/LICENSE'  
  29.     }  
  30. }  
  31.   
  32. dependencies {  
  33.     compile fileTree(dir: 'libs', include: ['*.jar'])  
  34.     compile 'com.android.support:appcompat-v7:21.0.3'  
  35. }  



阅读全文
0 0
原创粉丝点击