native-android-csharp/DemoAndroid/README.md

15 lines
548 B
Markdown
Raw Permalink Normal View History

2024-06-19 14:42:19 +00:00
# Android Native C# readme
1. AOT makes release versions crash sometimes, so it is disabled
2. Project created with
```bash
dotnet new android
```
3. New activities can be created with
```bash
dotnet new android-activity -n MyNewActivity
```
4. Avoid NuGet packages that are not built for non-Windows environments (e.g. depend on System.Drawing)
If the app crashes directly in Release, before reverting all your changes try to clean /bin and /obj
Also, if you reverted some changes, clean /bin and /obj again before thinking it still doesn't work