Skip to content

Build apk failed #1948

Description

Checklist

  • I read the troubleshooting guide before raising this issue
  • I made sure that the issue I am raising doesn't already exist

Current bug behaviour

*Enviroment :

  • Futter sdk : 3.22.2
  • Android gradle : 7.5
  • What went wrong:
    Execution failed for task ':audioplayers_android:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:AAPT: aapt2.exe E 09-12 15:49:11 7988 17724 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2.exe E 09-12 15:49:11 7988 17724 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\SDK\Android\platforms\android-35\android.jar'.
error: failed to load include path C:\SDK\Android\platforms\android-35\android.jar.

Expected behaviour

Build success

Steps to reproduce

  1. Execute flutter run on the code sample
  2. ...
  3. ...

Code sample

Code sample
void main() {
}

Affected platforms

Android

Platform details

No response

AudioPlayers Version

6.4.0

Build mode

No response

Audio Files/URLs/Sources

No response

Screenshots

No response

Logs

my relevant logs
Full Logs
my full logs or a link to a gist

Flutter doctor:

Output of: flutter doctor -v

Related issues / more information

No response

Working on PR

no way

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions