15 lines
548 B
Markdown
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
|