Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Error The "CreateLibraryResourceArchive" task failed unexpectedly #5

@SamihElsakhawi

Description

@SamihElsakhawi

Hi,

i'm trying to add the mopub sdk aar file, but i add this error when i build my project:

Error The "CreateLibraryResourceArchive" task failed unexpectedly. Xamarin.Tools.Zip.ZipIOException: File Jars\mopub-sdk-release.aar is not a ZIP archive at Xamarin.Tools.Zip.ZipArchive.Open(String path, FileMode mode, String defaultExtractionDir, Boolean strictConsistencyChecks, IPlatformOptions options) at Xamarin.Android.Tasks.CreateLibraryResourceArchive.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() MopubSDK

I set the aar files to LibraryProjectZip, but i still have this issue.

Is there a problem with the aar file ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions