Share via


The archive process has failled.

Question

Friday, October 11, 2019 6:51 AM

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 :)

All replies (7)

Friday, October 11, 2019 1:06 PM

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.


Saturday, October 12, 2019 6:43 AM

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.


Saturday, October 12, 2019 7:59 AM

@DeepakDY

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


Saturday, October 12, 2019 11:37 AM

First , Install the new version of visual studio.


Monday, October 14, 2019 8:14 AM

@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.


Monday, October 14, 2019 9:28 AM

@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.


Tuesday, October 15, 2019 2:00 AM

Ok, waitting for your update.