All Projects → 0xFireball → Xamarin Android Linux

0xFireball / Xamarin Android Linux

Detailed instructions on setting up Xamarin.Android on Linux!

Projects that are alternatives of or similar to Xamarin Android Linux

Metrica Plugin Xamarin
Xamarin plugin for Yandex AppMetrica SDK
Stars: ✭ 12 (-90.84%)
Mutual labels:  xamarin, xamarin-android
Githubxamarin
GithubXamarin(GitIt) is a cross-platform application for https://github.com which is built using Xamarin.
Stars: ✭ 1,022 (+680.15%)
Mutual labels:  xamarin, xamarin-android
Mvvmlight
The main purpose of the toolkit is to accelerate the creation and development of MVVM applications in Xamarin.Android, Xamarin.iOS, Xamarin.Forms, Windows 10 UWP, Windows Presentation Foundation (WPF), Silverlight, Windows Phone.
Stars: ✭ 973 (+642.75%)
Mutual labels:  xamarin, xamarin-android
Docs Archive
Xamarin docs archive
Stars: ✭ 553 (+322.14%)
Mutual labels:  xamarin, xamarin-android
Arcgis Toolkit Dotnet
Toolkit for ArcGIS Runtime SDK for .NET
Stars: ✭ 125 (-4.58%)
Mutual labels:  xamarin, xamarin-android
Mathparser.org Mxparser
Math Parser Java Android C# .NET/MONO (.NET Framework, .NET Core, .NET Standard, .NET PCL, Xamarin.Android, Xamarin.iOS) CLS Library - a super easy, rich and flexible mathematical expression parser (expression evaluator, expression provided as plain text / strings) for JAVA and C#. Main features: rich built-in library of operators, constants, math functions, user defined: arguments, functions, recursive functions and general recursion (direct / indirect). Additionally parser provides grammar and internal syntax checking.
Stars: ✭ 624 (+376.34%)
Mutual labels:  xamarin, xamarin-android
Xaml Code Experiences
A collection of the experiences I have collected during days of Xamarin and Wpf, while following the MVVM design pattern.
Stars: ✭ 114 (-12.98%)
Mutual labels:  xamarin, xamarin-android
Gittrends
A iOS and Android app to monitor the views and clones of your GitHub repos
Stars: ✭ 388 (+196.18%)
Mutual labels:  xamarin, xamarin-android
Googleclientplugin
Google Client Plugin for Xamarin iOS and Android
Stars: ✭ 69 (-47.33%)
Mutual labels:  xamarin, xamarin-android
Xweather
A weather app for iOS and Android built with Xamarin
Stars: ✭ 62 (-52.67%)
Mutual labels:  xamarin, xamarin-android
Xamarin Bluetooth Le
Bluetooth LE plugin for Xamarin
Stars: ✭ 419 (+219.85%)
Mutual labels:  xamarin, xamarin-android
Xamuidemo
Xamarin Forms Login Page UI Kit
Stars: ✭ 82 (-37.4%)
Mutual labels:  xamarin, xamarin-android
32feet
Personal Area Networking for .NET
Stars: ✭ 395 (+201.53%)
Mutual labels:  xamarin, xamarin-android
Realm.json.extensions
Extension Methods for adding JSON APIs to a Realm Instance
Stars: ✭ 9 (-93.13%)
Mutual labels:  xamarin, xamarin-android
Awesome Xamarin
A curated list of awesome Xamarin iOS/Android and Xamarin Forms bindings, ports, frameworks and much more!
Stars: ✭ 394 (+200.76%)
Mutual labels:  xamarin, xamarin-android
Azure For Developers Workshop
The Azure cloud is huge and the vast service catalog may appear daunting at first, but it doesn’t have to be!
Stars: ✭ 38 (-70.99%)
Mutual labels:  xamarin, xamarin-android
Arcgis Runtime Samples Dotnet
Sample code for ArcGIS Runtime SDK for .NET – UWP, WPF, Xamarin.Android, Xamarin.iOS, and Xamarin.Forms
Stars: ✭ 274 (+109.16%)
Mutual labels:  xamarin, xamarin-android
Open Source Xamarin Apps
📱 Collaborative List of Open Source Xamarin Apps
Stars: ✭ 318 (+142.75%)
Mutual labels:  xamarin, xamarin-android
Facialrecognitionlogin
An iOS and Android app that uses facial recognition to enhance the security of a login page. Built using Xamarin.Forms and Microsoft Cognitive Services.
Stars: ✭ 46 (-64.89%)
Mutual labels:  xamarin, xamarin-android
Faceoff
An iOS, Android and UWP app created in Xamarin.Forms that uses Microsoft's Cognitive Emotion API Services to compare facial expressions
Stars: ✭ 79 (-39.69%)
Mutual labels:  xamarin, xamarin-android

Setting up Xamarin.Android on Linux

A guide to getting Xamarin.Android ready to use on your distro of choice!

This guide has been tested successfully:

  • Arch Linux as of Feb 3, 2018
  • Ubuntu 16.04 (mono-5.8) as of Feb 23, 2018

Note that this is officially unsupported, but it can be used as a loose guide to help in setting this up on your system.

works badge

Why?

Xamarin has stated that there are no plans to officially support Linux. However, since Xamarin was open sourced, the developers have made it possible to manually install Xamarin.Android, and with some tweaking we can get full debugging support in Rider!

Let's start

Prerequisites

  • Latest mono packages for your platform

Obtain Xamarin.Android binaries

Prebuilt Releases (Recommended)

The latest successful artifacts from automated builds for Linux are available here: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android-linux/lastSuccessfulBuild/Azure/

Download the xamarin.android-oss_*.orig.tar.bz2 package to your system and extract it.

From source

See their instructions on building from source.

Environment setup

Install the Android SDK and NDK, then set environment variables:

(You may have to adjust the paths; these are the default for Android Studio)

export ANDROID_SDK_PATH=$HOME/Android/Sdk
export ANDROID_NDK_PATH=$HOME/Android/Sdk/ndk-bundle

Test build

Build a test project (there's one in the source repository) for Xamarin.Android.

/path/to/xamarin.android-oss*/bin/Debug/bin/xabuild /path/to/samples/HelloWorld/HelloWorld.csproj

The build should complete successfully. If you have problems, try adding /verbosity:d to get detailed output from the build process. You may have a minor error about libzip.so.4 not being found, just create a symlink to your libzip:

sudo ln -s /usr/lib/libzip.so /usr/lib/libzip.so.4

Next, try building a signed package:

/path/to/xamarin.android-oss*/bin/Debug/bin/xabuild /path/to/samples/HelloWorld/HelloWorld.csproj /t:SignAndroidPackage

This will invoke keytool and generate a keystore and use it to sign an .apk file, which will go to your output directory with a name like YourTestProject-Signed.apk.

Bonus: IDE (especially JetBrains Rider) support

This will enable building Xamarin.Android projects directly from msbuild.

Please refer to rider-setup.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].