Since installing the .net 7 preview I can no longer build .net maui projects. I've uninstalled the preview and deleted the bin/obj files but still can't debug. The error's i'm getting are:
'{directory}/project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.
C:\Program Files\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets 267
After trying dotnet restores and uninstalling/reinstalling .net components i now can't even click debug and get the error: 
Update I uninstalled and reinstalled visual studio and .net and got it working, momentarily. But now I'm getting the same errors again. I close and re-open Visual Studio or uninstall/reinstall components and then maybe get a different error like this one:
Manifest file at 'obj\Debug\net6.0-android\android-arm64\staticwebassets.build.json' not found. C:\Program Files\dotnet\sdk\6.0.401\Sdks\Microsoft.NET.Sdk.Razor\targets\Microsoft.NET.Sdk.Razor.StaticWebAssets.targets
Or no option to debug android at all:

I think this is related to my other open question: .Net MAUI Blazor - can't click anything - "No package ID ff found for ID 0xffffffff", android