簡體   English   中英

九補丁導致錯誤

[英]Error due to nine-patch

我從png轉換九補丁后得到此錯誤。 我看到了您先前對同一問題的回答,但沒有得到幫助的結果。

它是我的錯誤日志:

Error:java.lang.RuntimeException: Some file crunching failed, see logs for details    
Error:Execution failed for task ':app:mergeDebugResources'.
Error: java.lang.RuntimeException: Some file crunching failed, see logs for details

這是我的畢業證書:

apply plugin: 'com.android.application' android {
compileSdkVersion 24
buildToolsVersion "24.0.3"
defaultConfig {
    applicationId "kliff.communitydesigns"
    minSdkVersion 19
    targetSdkVersion 24
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
} dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:cardview-v7:24.2.1'
compile 'com.android.support:recyclerview-v7:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'com.android.volley:volley:1.0.0'
compile 'com.android.support:support-v4:24.2.1'

compile 'com.squareup.picasso:picasso:2.4.0'
compile 'de.hdodenhof:circleimageview:2.1.0'

}

出現此問題可能是因為您正在創建自己的9patch ..通過以下鏈接簽出並按照本教程中的說明創建自己的9patch

畫布和繪畫

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM