diff --git a/.gitignore b/.gitignore index 289be9b..9f0a7a9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea/ obj/ -bin/ \ No newline at end of file +bin/ +/.DS_Store diff --git a/DemoAndroid/.DS_Store b/DemoAndroid/.DS_Store new file mode 100644 index 0000000..6852171 Binary files /dev/null and b/DemoAndroid/.DS_Store differ diff --git a/DemoAndroid/DemoAndroid.csproj b/DemoAndroid/DemoAndroid.csproj index 5d9c2ae..63d424d 100644 --- a/DemoAndroid/DemoAndroid.csproj +++ b/DemoAndroid/DemoAndroid.csproj @@ -13,10 +13,8 @@ False False + - - - \ No newline at end of file diff --git a/DemoAndroid/README.md b/DemoAndroid/README.md new file mode 100644 index 0000000..9f48f11 --- /dev/null +++ b/DemoAndroid/README.md @@ -0,0 +1,15 @@ +# 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 \ No newline at end of file