Which android ndk version should be used with xamarin.android 6.1 - android

Xamarin does not specify a version for android ndk to use and in the screen shot at Manual Xamarin.android installation page it shows r9d version witch is old. so should i install that specific version or the latest stable version witch is r12b at this moment. currently i am using r10 witch seems to be working currently ....
And also x86 or x64? I am on windows8.1 X64

Xamarin.Android Version: 6.1.99.224 is using android-ndk-r10d.
The current xamarin-android build in github is using android-ndk-r11c:
Ref : toolchain.projitems

For Xamarin.Android 7, you can use NDK r11c, newer version will not be recognized by Xamarin because files are renamed by google.

Related

Xamarin.Forms dependencies and Android compiling sdk version

I'm trying to add some xamarin android related nuget packages into my project.
When I see https://www.nuget.org/packages/Xamarin.Forms/3.1.0.583944
Dependencies
MonoAndroid 7.1
Tizen 4.0
UAP 10.0
Does MonoAndroid 7.1 mean that I can only use Android 7.1 as my compiling version? What if I use Android 8 which is MonoAndroid 8.0 ?
Using MonoAndroid 8.0 should be fine. Consider it more of a minimum required version number. Also, a word to the wise, make sure that all projects in the solution are using the same Xamarin Forms version. It will save you headaches.

How to update Google.Play.Services.Maps to 32.961 or higher?

https://github.com/alexsorokoletov/Xamarin.Android.Maps.Utils
I am trying to use that nuget for my xamarin forms android map. However it depends on Google.Play.Services.Maps to be version 32.961 or higher but my current version is 29.0 and when I try to update it I need to update lots of packages (Support.Design, Support.v4 etc) and visual studio is not letting me update that either. I believe it's something about the MonoAndroid version. I get this error message You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework.
Any ideas how I can successfully install this nuget?
Xamarin Forms changed the way it depends on the Android support libraries a few versions ago.
You can see in the NuGet package (I have 2.3.4.247 installed) that MonoAndroid v1.0 requires Android support libraries to be equal to 23.3.0, but MonoAndroid v7.0 requires the version to be greater than or equal to 23.3.0.
To update the Android support libraries you need to ensure you have the latest Android SDK installed in the Android SDK manager, then change the Compile using Android Version (Target Framework) on the Application tab of the project options to be Use Latest Platform, and the Target Android Version on the Android Manifest tab to be Use Compile using SDK version.
Once you have done this you should be able to update the support libraries. I did that by selecting Xamarin.Android.Support.v4 and updating in NuGet.

QtCreator building Android apk is failing with wrong SDK version

I followed the steps shown here.
Installed JDK, Android SDK and NDK. Installed gradle, ant and OpenGl libraries.
When trying to build any android example I get the following error:
Error: Target id 'android--1' is not valid.
I tried this solution but I couldn't select any API. The paths are all correctly set. Using NDK 10 since 14 has known issues.
I verified that it is not a timeout issue as described here
Anyone encountering the same issue?
The reason for not building is this:
SDK Tools, Revision 25.3.0 (March 2017)
Obsolete/deprecated tools have been removed:
android
QtCreator is using the tools to get information about the Android SDK. Workaround is to get the previous version (e.g. 25.2.5).

New version of Android Eclipse plugin breaks usage on eclipse 3.4 and below

I just noticed that a new version of the Android Development Toolkit was released.
I also noticed that it dropped support for Eclipse version 3.4 which is what I develop on using Pulse to get my plugins. The update site no longer hosts the older version that did support eclipse 3.4 and below. This means I can no longer use my older version since the metadata was deleted.
Would it be possible to get an update site that supports the older Android Plugin so I can continue using eclipse 3.4 as mandated by my employer?
Cheers
Ray
You can get the older ADT plugins OK, but not the older SDKs. It's not publicised but there are links which work,For example
http://dl.google.com/android/ADT-9.0.0.zip
Versions 10.0.0, 8.0.1, 8.0.0 etc are all available in zip files (just change the URL to the appropriate version number). They're all listed on this page
ADT Plugin for Eclipse

using Android SDK 2.2 with Rhomobile

I have installed: rhodes 2.0.0 beta 11, ruby 1.8, gem 1.3.7, and OpenSUSE 11.2. The only way i can get the app to compile is by using Android SDK 1.5. when I delete 1.5 and install 2.2 it says: No required platform (API level 3) found, can't proceed. any ideas? I would rather use an updated version of the SDK.
It sounds like you don't have the Android NDK installed. See the prereqs for Android, install the NDK and try again. Or just do hosted Android build on RhoHub.

Categories

Resources