Debug Maui app on android .Net 8

1099
13
01-30-2024 06:23 AM
Labels (2)
TomášZachoval
New Contributor III

Hello, I want to report bug and find workeround. 

When I start app on android in debug, then app disconected forom debuger or crash, immediately after I add layer to BaseLayers. Sometimes it survives adding and crash after map movment.  Is there any solution?
Example in attachment.

Ps.

If you start app withou debuging it works fine. The problem is happening to me on two different apps on different computers with Visual studio. 

Tags (3)
0 Kudos
13 Replies
TomášZachoval
New Contributor III

dotnet --version 8.0.200-preview.23624.5 

dotnet workload list
maccatalyst 17.2.8004/8.0.100 VS 17.9.34526.213, VS 17.8.34525.116
ios 17.2.8004/8.0.100 VS 17.9.34526.213, VS 17.8.34525.116
maui-windows 8.0.3/8.0.100 VS 17.9.34526.213, VS 17.8.34525.116
android 34.0.52/8.0.100 VS 17.9.34526.213, VS 17.8.34525.116
wasm-tools-net6 8.0.1/8.0.100 VS 17.8.34525.116
wasm-tools 8.0.1/8.0.100 VS 17.8.34525.116

But i recenty actualized both VS for examing issue.

I think that first time when I have encountered the error was about 14 days ago maby beginning of January. But I am not shure.  First I thought there was an error in Wmst services.

0 Kudos
dotMorten_esri
Esri Notable Contributor

Please uninstall preview versions, and use the supported versions. Previews versions will often have goblins

0 Kudos
TomášZachoval
New Contributor III

I can do it, but i had a supported version before. The preview version I installed only before I hoped that will solve the issue.

0 Kudos
TomášZachoval
New Contributor III

My colleague on whom I tried it today, on vs in the version 17.8.3. But I won't find out about his maui version and worloads tomorrow at the earliest. If ti helps

0 Kudos