2016-11-29 6 views
0
Running command: /home/vimal/vimal/Attendance/hooks/after_prepare/010_add_platform_class.js /home/vimal/vimal/Attendance 
add to body class: platform-android 
ANDROID_HOME=/opt/android-sdk 
JAVA_HOME=/usr/lib/jvm/default-java 
:preBuild UP-TO-DATE 
:preDebugBuild UP-TO-DATE 
:checkDebugManifest 
:CordovaLib:preBuild UP-TO-DATE 
:CordovaLib:preDebugBuild UP-TO-DATE 
:CordovaLib:compileDebugNdk UP-TO-DATE 
:CordovaLib:compileLint 
:CordovaLib:copyDebugLint UP-TO-DATE 
:CordovaLib:mergeDebugProguardFiles 
:CordovaLib:packageDebugRenderscript UP-TO-DATE 
:CordovaLib:checkDebugManifest 
:CordovaLib:prepareDebugDependencies 
:CordovaLib:compileDebugRenderscript 
:CordovaLib:generateDebugResValues 
:CordovaLib:generateDebugResources 
:CordovaLib:packageDebugResources 
:CordovaLib:compileDebugAidl 
:CordovaLib:generateDebugBuildConfig 
:CordovaLib:generateDebugAssets UP-TO-DATE 
:CordovaLib:mergeDebugAssets 
:CordovaLib:processDebugManifest 
:CordovaLib:processDebugResources 
:CordovaLib:generateDebugSources 
:CordovaLib:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API. 
Note: Recompile with -Xlint:deprecation for details. 

:CordovaLib:processDebugJavaRes UP-TO-DATE 
:CordovaLib:transformResourcesWithMergeJavaResForDebug 
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug 
:CordovaLib:mergeDebugJniLibFolders 
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug 
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug 
:CordovaLib:bundleDebug 
:prepareAndroidCordovaLibUnspecifiedDebugLibrary 
:prepareDebugDependencies 
:compileDebugAidl 
:compileDebugRenderscript 
:generateDebugBuildConfig 
:generateDebugAssets UP-TO-DATE 
:mergeDebugAssets 
:generateDebugResValues 
:generateDebugResources 
:mergeDebugResources 
AAPT: libpng error: Read Error 
AAPT: libpng error: Read Error 
AAPT: libpng error: Read Error 
AAPT: libpng error: Read Error 
AAPT: libpng error: Read Error 
AAPT: libpng error: Read Error 
:mergeDebugResources FAILED 

FAILURE: Build failed with an exception. 
  • を追加した後IONICとアンドロイドplatfomを構築しながら: 実行がタスクに失敗しました「:mergeDebugResources」。エラー何が悪かったのかアイコンとスプラッシュスクリーン

    Some file crunching failed, see logs for details

  • してみてください。スタックトレースを取得する--stacktraceオプション付き 実行します。より多くのログ出力を得るには、--infoまたは--debugオプションを指定して実行します。

BUILD FAILED

合計時間:16.436秒 エラー:エラーコード1コマンド:引数と/ホーム/ビマル/ビマル/出席/プラットフォーム/アンドロイド/ gradlew:cdvBuildDebug、-b、/ホーム/ vimal/vimal /出席/プラットフォーム/アンドロイド/ build.gradle、-Dorg.gradle.daemon = true、-Pandroid.useDeprecatedNdk = true

+0

を参照しますアンドロイドアプリのソース? 9つのパッチイメージファイルがありますか? icon.9.pngとicon.pngと言うことができますか? – Harry

答えて

0

これには1つの答えはありません。いくつかのヒント(可能な解決策は)次のとおりです。

1)特殊文字(画像、HTML、テンプレート、JavaScriptのファイル、CSS)

2)

ionic platform remove android 
    ionic platform add android 

3)チェックをコンテンツごとに、ファイル名の名前を変更しますで/リソース/アンドロイド/スプラッシュフォルダが重複rがあり、壊れた画像

4)

ionic platform remove android 
    ionic platform add android 
    ionic state restore 
    ionic resources 
+0

右!スプラッシュ画面の画像に問題がありました – Vicky

関連する問題