субота, 28 грудня 2019 р.

This project is currently disabled (12.2019)

Project xamarin-android-linux
Xamarin.Android master Linux build

This project is currently disabled, because I don't see any new builds after Apr 2019
(although I see some strange new pipelines for Linux, xamarin-android-linux-pr-pipeline for example, but without artifacts).

https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android-linux/

Last version that I've tried: #2194 Apr 17, 2019
xamarin.android-oss_9.2.99.172.tar.xz

I've spent a lot of time but it doesn't work for me to compile and run a complex project. I don't have more time to try.

But it was possible to compile and run a simple application on an Android 4.4 device and on the emulator: template-3.1.0.637273-8.1-ns2.0 based on Xamarin.Forms 3.1

Also it has an unfixed issue for Android 4.4:
https://github.com/xamarin/xamarin-android/issues/3314
so it is necessary to insert into Debug/Release csproj section:
<AndroidAapt2LinkExtraArgs>--no-version-vectors</AndroidAapt2LinkExtraArgs>


P.S. I wasn't able to run some new templates because of this issue:https://github.com/xamarin/Xamarin.Forms/issues/7602
But it is possible to run 4.3.0.851321-pre3 based template.

P.P.S. updated fast.sh for new versions of Xamarin.Forms and Android:

ANDROID_OVERRIDE_DIR=/data/user/0/com.example.sampleresources/files/.__override__

https://github.com/igorkovalchuk/xamarin-forms-android-linux-project-templates/blob/master/template-4.3.0.851321-pre3/fast.sh

- - -

Mono JIT compiler version 6.6.0.161 (tarball Tue Dec 10 10:37:10 UTC 2019)

msbuild version 16.3.0-ci for Mono

NuGet Version: 5.2.0.6090

dotnet version 2.2.402