问题描述
AAPT错误(833489116):/home/pankaj/Android/Sdk/build-tools/22.0.1/aapt:加载共享库时出错:libz.so.1:无法打开共享库文件:没有这样的文件或目录
我的成绩是这个
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "comproject.deltastara.myapplication"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.android.support:design:23.0.1'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.android.support:support-v4:23.0.1'
}
1楼
安装lib32z1解决了该问题。 为了清楚起见,我在终端中运行了以下命令
$ sudo apt-get安装lib32z1