Файл не начинается с подписи PNGAndroid

Форум для тех, кто программирует под Android
Ответить
Anonymous
 Файл не начинается с подписи PNG

Сообщение Anonymous »

, я пытаюсь загрузить свое приложение Flutter в Google Play, когда я пишу эту команду flutter build appbundle, я получил сообщение об ошибке
Я пытаюсь написать это команда в моем проекте для создания файла grudle.aa:
flutter build appbandel но я получил эти ошибки:
Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> Multiple task action failures occurred:
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> Android resource compilation failed
ERROR: AAPT: com.weenbalaqee.weenbalaqee.app-main-19:/mipmap-mdpi/ic_launcher.png: error: failed to read PNG signature: file does not start with PNG signature.
C:\myfolder\Myproject\android\app\src\main\res\mipmap-mdpi\ic_launcher.png: error: file failed to compile.

> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> Android resource compilation failed
ERROR: AAPT: com.weenbalaqee.weenbalaqee.app-main-19:/mipmap-hdpi/ic_launcher.png: error: failed to read PNG signature: file does not start with PNG signature.
C:\myfolder\Myproject\android\app\src\main\res\mipmap-hdpi\ic_launcher.png: error: file failed to compile.

> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> Android resource compilation failed
ERROR: AAPT: com.weenbalaqee.weenbalaqee.app-main-19:/mipmap-xxhdpi/ic_launcher.png: error: failed to read PNG signature: file does not start with PNG signature.
C:\myfolder\Myproject\android\app\src\main\res\mipmap-xxhdpi\ic_launcher.png: error: file failed to compile.

> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> Android resource compilation failed
ERROR: AAPT: com.weenbalaqee.weenbalaqee.app-main-19:/mipmap-xxhdpi/ic_launcher.png: error: failed to read PNG signature: file does not start with PNG signature.
C:\myfolder\Myproject\android\app\src\main\res\mipmap-xxhdpi\ic_launcher.png: error: file failed to compile.

> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> Android resource compilation failed
ERROR: AAPT: com.weenbalaqee.weenbalaqee.app-main-19:/mipmap-xxxhdpi/ic_launcher.png: error: failed to read PNG signature: file does not start with PNG signature.
C:\myfolder\Myproject\main projects\WeenBlaqe\android\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png: error: file failed to compile.


Подробнее здесь: https://stackoverflow.com/questions/776 ... -signature
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»