Bilel
Bilel

Reputation: 11

Maui app running normal on windows machine but getting errors when i try on a android physical device

The app was running with no problems. After updating visual studio 2022 I had an issue with my app the errors I get:

There was no runtime pack for Microsoft.Android 
available for the specified RuntimeIdentifier 'win-x64'
There was no runtime pack for Microsoft.Maui.Core 
available for the specified RuntimeIdentifier 'win-x64'
There was no runtime pack for Microsoft.Maui.Controls 
available for the specified RuntimeIdentifier 'win-x64'
There was no runtime pack for Microsoft.Essentials 
available for the specified RuntimeIdentifier 'win-x64'

The errors appear when I try to run the app on my physical device.

I tried to create a new Maui app and run it on physical device to check if the problem is only with this specific app or not and it worked fine(the new app)

Upvotes: 1

Views: 623

Answers (1)

Bilel
Bilel

Reputation: 11

I copied the code in a new project and it worked fine

Upvotes: 0

Related Questions