The archive process has failled.

DeepakDYDeepakDY INMember ✭✭✭

Hello Developer,

I am using Startup Tracking for faster speed of my app after using <AndroidEnableProfiledAot>true</AndroidEnableProfiledAot>, the archive manager throwing error Cannot create the archive file because the packaging process failed.
Any solution for this error how can generate apk with Startup tracking. I have installed NDK

Thanks in Advance :)

Answers

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    First of all, please make sure your update your Visual Studio Enterprise 2019 to the latest.

    Then please check the information(Alias, Alias Password) in theAndroid package signing correctly(right click the project, select "Properties").

    And the last NDK version is 20.0.5594570

    Enable Startup Tracing feature where they do not yet support spaces in the project path. A candidate solution for that limitation is being tracked in https://github.com/xamarin/xamarin-android/issues/3407 and is planned to be available in a future Visual Studio 2019 version 16.4 Preview version.

  • DeepakDYDeepakDY INMember ✭✭✭

    Hello @LeonLu

    I have Visual Studio Community 2019 Preview with version 16.3.0 Preview 2.0

    And I import Keystore file into Android->Properties->Android Package Signing and entered correct Keystore Password, Alias and Alias Password

    I have NDK latest version 19.

    Any help for me.

  • CharwakaCharwaka INMember ✭✭✭✭✭

    @DeepakDY

    First Step : Please Uninstall Preview version and Install Stable Version , than try !

  • manu23manu23 Member

    First , Install the new version of visual studio.

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    @DeepakDY
    You install a community version for your VS 2019, You can refer to this link. This feature added in the Visual Studio Enterprise 2019 16.2 and please use Stable version.

  • DeepakDYDeepakDY INMember ✭✭✭

    @LeonLu said:
    @DeepakDY
    You install a community version for your VS 2019, You can refer to this link. This feature added in the Visual Studio Enterprise 2019 16.2 and please use Stable version.

    Thanks @LeonLu I will install VSEnterprise soon and will give you to update soon.

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    Ok, waitting for your update.

Sign In or Register to comment.