【发布时间】:2016-09-28 23:08:22
【问题描述】:
我正在尝试将包含库的 android eclipse 项目导入 Android Studio。
导入所有库文件后进入 build.gradle
compile files('libs/comscore.jar')
compile files('libs/FlurryAnalytics-5.3.0.jar')
compile files('libs/json-simple.jar')
但显示 Gradle 构建错误
Error:Execution failed for task ':mMHealth:mergeDebugResources'.
> Some file crunching failed, see logs for details
还显示错误
AAPT err(Facade for 2088335535): ERROR: 9-patch image C:\Project\me\src\Health\src\main\res\drawable-xhdpi\ic_mail.9.png malformed.
AAPT err(Facade for 2034746927): ERROR: 9-patch image C:\Project\me\src\Health\src\main\res\drawable\baby_spinner.9.png malformed.
AAPT err(Facade for 2088335535): No marked region found along edge.
AAPT err(Facade for 2034746927): Must have one-pixel frame that is either transparent or white.
AAPT err(Facade for 2088335535): Found along top edge.
我的格子
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
}
}
谁能帮忙解决gradle.build错误
提前致谢:)
【问题讨论】:
标签: android eclipse android-studio android-gradle-plugin build.gradle