native-android-csharp/DemoAndroid/README.md
2024-06-19 16:42:19 +02:00

15 lines
548 B
Markdown

# 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