Using Delphi 11 Alexandria, Professional edition, w/ Patch 1 on Windows 10.
Android was selected as a platform during install, and all of the SDKs were downloaded and installed.
This works fine in Delphi 10.4, but in Delphi 11 Android is not available as a platform, even though the Platform Manager says it's installed.
Can't create a new multi-device application for anything other than Windows.
Does anyone have it working in 11?
Related
I have VS2017 and VS2019 installed side by side on my Windows 10 machine.
I can not compile Xamarin Android 4.1 projects (in VS2019) unless I upgrade them to 4.4 which seems to be the minimum Android SDK version I can target in VS2019. VS2017 compiles fine.
If I create a new Xamarin Android project in VS2019 I can select from 4.4 and above, but in VS2017 I can target right back to 2.3.
Both Visual Studio Xamarin settings are pointing to the same location for the android-sdk (which is on my D: drive, but I did copy it to the standard install location to verify it was not using this as a default, which made no difference)
VS2019 Minimum Android Version
VS2017 Minimum Android Version
Is it possible to target Android 4.1 using VS2019?
Use the following when making decisions with your Android versions:
minSdkVersion (lowest possible) <=
targetSdkVersion == compileSdkVersion/TargetFrameworkVersion (latest SDK)
It's also worthwhile to consider the Android Dashboard to understand how many devices are running a specific version of Android.
https://developer.android.com/about/dashboards
Selecting a higher "Compile using Android version" still lets the project compile.
Under the Android Manifest tab, you can still select the older Minimum and Target Android version allowing VS2019 to be used with this solution/project that uses an older Target Version.
Per the tooltip, Target Framework is only used at runtime.
I'm trying to run an already functional application that requires the Windows 8.1 SDK.
I installed Visual Studio 2019, but there is no option in the 8.1 SDK.
This is for a Windows 10 using Visual Studio 2019 last update.
On my old computer, there was the option to select in "Individual Components", but now no longer the encounter. Does anyone know if there is no such support on VS2019? Or is it necessary to install something more for the support to appear?
This is expected as it is marked as deprecated in Visual Studio 2019:
The Windows 8.1 SDK is no longer available in the Visual Studio
installer. Please upgrade your C++ projects to the latest Windows 10
SDK. If you have a hard dependency on 8.1, you can download it from
the Windows SDK archive.
So download and install the SDK from here.
I have a problem getting Xamarin.Android to target the newest version of Android.
The problem arised when I tried installing the Xamarin.GooglePlayServices.Maps NuGet package, that required me to run at least Android 8.
From my Android SDK manager, I can see that Android 8 and 8.1 is the only SDK platforms installed:
However, when I start a new project in Visual Studio 2017, and go into the project properties, and extend the Compile using Android version dropdown, it's populated like this:
So here I can choose only 7.1 (that is marked as latest platform), and 8.0 and 8.1 is marked with (Requires installation). Android 7.1 SDK that VS uses is not even installed on my machine.
So the questions is: What do I have to do to select Android 8.1 as the Target Framework inside Visual Studio?
What do I have to do to select Android 8.1 as the Target Framework inside Visual Studio?
In your VS, Tools->Android->Android SDK Manager, you will see Android SDK for VS, it default path is C:\Program Files (x86)\Android\android-sdk.
In your AS, Android SDK's path is C:\Users\user name\AppData\Local\Android\Sdk
Now, you can change the VS's Android SDK's path to C:\Users\user name\AppData\Local\Android\Sdk, but we don't suggest you do that, it may cause VS compilation errors at some point, and by then you cannot find the cause of the problem.
So, you can download the Android 8 from VS again.
Background:
I am new to Windows app development.
I have installed Visual Studio 2017 Enterprise edition free trial on two machines. (One is running win 8.1 OS and other having win 10 OS)
Then, downloaded windows 10 sdk and mobile emulators.
I have created a webview based UWP app which is targeting windows 10.
Problem:
Built UWP app is running perfectly on Windows 10 OS with mobile emulators target version windows 10.
Now, I want the app to run on both windows 8, 8.1 and windows 10 phones.
I have installed windows 10 and windows 8.1 sdk on both machines.
But, it is not allowing me to create a new project to specify minimum sdk version as 8 or 8.1.
Is there any way to target both 8.1 and 10 versions for mobile with single app, with minimum efforts?
Please suggest.
Here is a summary that which VS can build which app models:
VS2019 - UWP (Except for Win10Mobile)
VS2017 - UWP
VS2015 - UWP, Win8.1 StoreApp, WP8/8.1 StoreApp
VS2013 - Win8/8.1 StoreApp, WP8/8.1 StoreAp
(Assume that dev system is Win10 and ignoring the Win32 or others)
(Note - To use the latest Win10 FallCU SDK, you need to use VS2017 or 2019)
For detail, please refer the vs compatibility page:
VS2019
VS2017
VS2015
VS2013
You need to create an app using Windows 8 SDK if you want to target Windows 8 and above versions.
UWP will not work for you because minimum requirement for UWP is Windows 10.
This might be a silly problem. My laptop has Windows 7. I have installed Visual Studio 2012. But there is no Windows Phone project. I have tried to install Windows Phone sdk 8 but it says that I need Windows 8 to install that.
I have tried to install Windows Phone sdk 7 but it says that I need Visual Studio 2010 service pack. I don't know what to do next.
You can't install the Windows Phone 8 SDK on Windows 7, so if you want to develop on Windows 7, you'll have to install the Windows Phone 7 SDK.
It includes Visual Studio 2010 Express for Windows Phone. If you already have VS2010 installed, the SP1 is indeed required.