You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
994 B
Plaintext
24 lines
994 B
Plaintext
# Here are several notes on how I managed to get xamarin.android working.
|
|
# OS: Linux Mint 20.3 Mate x86_64
|
|
# Downloaded Android Studio, Added Mono, installed a lot of random packages, Android SDKs, etc.
|
|
# Xamarin.Android taken from the pipeline artifact
|
|
# Did some weird hacks with environment (TODO)
|
|
# Did awful things to the dotnet instalation:
|
|
# SO: https://askubuntu.com/questions/1177970/how-to-develop-for-android-with-xamarin
|
|
|
|
for x in /usr/lib/xamarin.android/xbuild/*; do ln -s $x /usr/share/dotnet/sdk/6.0.200/`basename $x`; done
|
|
for x in /usr/lib/xamarin.android/xbuild-frameworks/*; do ln -s $x /usr/share/dotnet/packs/`basename $x`; done
|
|
|
|
# Found some commands to be semi-working
|
|
|
|
dotnet build -p:TargetFrameworkRootPath=/usr/lib/xamarin.android/xbuild-frameworks/
|
|
|
|
|
|
nuget restore # In solution directory
|
|
msbuild /t:Build,Install # In project directory
|
|
# Launch yourself...
|
|
|
|
clean:
|
|
git clean -fxd `git rev-parse --show-toplevel`
|
|
git submodule foreach --recursive git clean -fxd
|