Android stduio 导入.9图片的问题

直接在build.grale里面加入
 aaptOptions.cruncherEnabled = false    

 aaptOptions.useNewCruncher = false

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false

compileOptions {
    encoding "UTF-8"
    sourceCompatibility JavaVersion.VERSION_1_7
    targetCompatibility JavaVersion.VERSION_1_7
}
defaultConfig {
    applicationId "com.xxx.yyy"
    minSdkVersion 14
    targetSdkVersion 22
}

buildTypes {
    release {
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
    }
  }
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.http-client:google-http-client-gson:1.20.0'
compile 'com.google.code.gson:gson:2.3'
compile 'com.google.guava:guava:18.0'
compile 'joda-time:joda-time:2.7'
//compile files('libs/google-api-client-1.19.1.jar')
//compile files('libs/google-api-client-android-1.19.1.jar')
compile files('libs/google-api-services-youtube-v3-rev126-1.19.1.jar')
//compile files('libs/google-http-client-1.19.0.jar')
//compile files('libs/google-http-client-android-1.19.0.jar')
//compile files('libs/google-http-client-jackson2-1.17.0-rc.jar')
compile files('libs/google-oauth-client-1.17.0-rc.jar')
//compile files('libs/google-oauth-client-java6-1.17.0-rc.jar')
//compile files('libs/google-oauth-client-jetty-1.17.0-rc.jar')
//compile files('libs/google-oauth-client-servlet-1.17.0-rc.jar')
compile files('libs/jackson-core-2.1.3.jar')
//compile files('libs/Parse-1.9.1.jar')
compile 'com.parse.bolts:bolts-android:1.1.2'
compile files('libs/picasso-2.3.4.jar')
compile files('libs/twitter4j-core-4.0.2.jar')
compile files('libs/YouTubeAndroidPlayerApi.jar')
compile 'com.android.support:appcompat-v7:22.1.1'
compile project(':CircularImageView')
//compile files('libs/google-play-services.jar')
compile 'com.google.android.gms:play-services-base:7.3.0'
//compile 'com.google.android.gms:play-services-plus:7.3.0'
compile project(':CountryPicker')
compile project(':PullToRefreshListView')
compile('com.facebook.android:facebook-android-sdk:3.22.0@aar') {
    exclude module: 'support-v4'
    exclude module: 'bolts'
}
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值