Replies: 3 comments 3 replies
-
@Jamlee it seems to be an issue specific to solution dev-projects. ControlCatalog is not a demo project. |
Beta Was this translation helpful? Give feedback.
-
Finally, after five sleepless nights, I found that the problem stemmed from @maxkatz6 Do you have a better solution? Or could you please help consult other Maintainers? Modifying the target file of the SDK is really not an elegant way. If this problem can be solved, MacOS will be able to support the development environments of MacOS, IOS and Android simultaneously. Just by installing the Android plugin on Rider, the development experience on MacOS will be great. |
Beta Was this translation helpful? Give feedback.
-
i create issue to dotnet/android#9499 too. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
The Android examples cannot be launched using the command line on macOS and Windows. Errors are reported in both cases.
It seems that the problem lies in the compilation of XAML. XAML will modify the obj/Debug/net8.0/Avalonia.Dialogs.dll and place it into obj/Debug/net8.0/Avalonia/Avalonia.Dialogs.dll. However, it is not clear why only the ControlCatalog.Android project reports errors.
on macos m3:
on windows:
To Reproduce
Expected behavior
It is possible to run Android directly in the command line just like creating a new Android project.
dotnet new android
Avalonia version
11.2
OS
Windows, macOS
Additional context
When launching the Android example through Visual Studio, it can be successfully started. However, I'm not sure what command lines Visual Studio uses behind the scenes to start that Android example.
Beta Was this translation helpful? Give feedback.
All reactions