2016-05-17 8 views
0

Wenn ich Android Studio aktualisieren, ich folgende Ausnahme während synchronize Projekt gefunden:libpng Fehler beim Update android Studio von v-1.5 auf v-2.1.1 angezeigt?

Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:prepareDebugUnitTestDependencies, :app:mockableAndroidJar] 
:app:preBuild UP-TO-DATE 
:app:preDebugBuild UP-TO-DATE 
:app:checkDebugManifest 
:app:preReleaseBuild UP-TO-DATE 
:app:prepareComAndroidSupportAnimatedVectorDrawable2321Library UP-TO-DATE 
:app:prepareComAndroidSupportAppcompatV72321Library UP-TO-DATE 
:app:prepareComAndroidSupportMultidex101Library UP-TO-DATE 
:app:prepareComAndroidSupportSupportV42321Library UP-TO-DATE 
:app:prepareComAndroidSupportSupportVectorDrawable2321Library UP-TO-DATE 
:app:prepareComBraintreepaymentsApiBraintree178Library UP-TO-DATE 
:app:prepareComBraintreepaymentsApiBraintreeApi178Library UP-TO-DATE 
:app:prepareComBraintreepaymentsCardForm201Library UP-TO-DATE 
:app:prepareComCrashlyticsSdkAndroidAnswers136Library UP-TO-DATE 
:app:prepareComCrashlyticsSdkAndroidBeta114Library UP-TO-DATE 
:app:prepareComCrashlyticsSdkAndroidCrashlytics255Library UP-TO-DATE 
:app:prepareComCrashlyticsSdkAndroidCrashlyticsCore238Library UP-TO-DATE 
:app:prepareComGoogleAndroidGmsPlayServicesBase840Library UP-TO-DATE 
:app:prepareComGoogleAndroidGmsPlayServicesBasement840Library UP-TO-DATE 
:app:prepareComGoogleAndroidGmsPlayServicesGcm840Library UP-TO-DATE 
:app:prepareComGoogleAndroidGmsPlayServicesLocation840Library UP-TO-DATE 
:app:prepareComGoogleAndroidGmsPlayServicesMaps840Library UP-TO-DATE 
:app:prepareComGoogleAndroidGmsPlayServicesMeasurement840Library UP-TO-DATE 
:app:prepareComPaypalSdkPaypalPartnerAndroidSdk2125Library UP-TO-DATE 
:app:prepareDealiciCopyFacebookAndroidSdk481UnspecifiedLibrary UP-TO-DATE 
:app:prepareIoFabricSdkAndroidFabric1310Library UP-TO-DATE 
:app:prepareDebugDependencies 
:app:compileDebugAidl UP-TO-DATE 
:app:compileDebugRenderscript UP-TO-DATE 
:app:generateDebugBuildConfig UP-TO-DATE 
:app:mergeDebugShaders UP-TO-DATE 
:app:compileDebugShaders UP-TO-DATE 
:app:generateDebugAssets UP-TO-DATE 
:app:mergeDebugAssets UP-TO-DATE 
:app:processDebugManifest UP-TO-DATE 
:app:fabricGenerateResourcesDebug 
:app:generateDebugResValues UP-TO-DATE 
:app:generateDebugResources 
:app:mergeDebugResources 
AAPT err(Facade for 2185542): libpng error: Not a PNG file 
AAPT err(Facade for 7312816): libpng error: Not a PNG file 
AAPT err(Facade for 7312816): libpng error: Not a PNG file 
Error:Execution failed for task ':app:mergeDebugResources'. 
> Some file crunching failed, see logs for details 
Information:BUILD FAILED 
Information:Total time: 11.546 secs 
Information:1 error 
Information:0 warnings 
Information:See complete output in console 

Ich versuche android neu zu starten und auch alle Dateien in .png Format ändern. Aber die Ausnahme löst nicht.

Bitte geben Sie mir perfekte Lösung für die Lösung dieses Problems so schnell wie möglich?

Antwort

0

Überprüfen Sie alle Ihre Bilder in den Res/Drawable-Verzeichnissen, wenn sie sich nicht vom PNG-Format unterscheiden. Obwohl ein Bild mit der Erweiterung .png ist, bedeutet das nicht, dass es sich um eine PNG-Datei handelt.