Install and activate Android SDK to work on RAD Studio 11 - android

Hi I install RAD studio 11 and select all die SDK to install as well, when I check the platforms it show that Delphi iOS Enterprise and Delphi Android Enterprise is installed.
How do I get to start creating Android and iOS apps because all the docs from Embarcadero are for other versions and nothing for Delphi 11.
Where do I get the SDK manager to setup my Andriod device on USB?
All that tI can find is under Tools -> Options
Under Deployment -> SDK Manager, but there I are SDK versions Android SDK 25.2.5 64-bit and Android SDK 25.2.5 32-bit
When I try to add and point to the suggested folder , when I go to next Ican't find the Delphi NDK Library path to finish the setup

Related

How to install latest Android SDK with Delphi SDK Manager?

I am using Delphi 10.4 and I would like to install Android 31 API SDK. Delphi has its own SDK manager, available e.g. from 'Options - Deployment - SDK Manager'. And this SDK Manager has option 'Add...' 'Add a New SDK' - 'Select an SDK version' - 'Add New...'.
So far everything is fine. But 'Add New...' opens 'Create a new Android SDK' which does not provide options for downloading and installing SDKs, it just requires to the directories to an already installed SDK. It also suggests, that 'Android SDK Base path' could be '/Documents/Embarcader/Studio/21.0/CatalogRepository/AndroidSDK-2525'.
So, this suggests, that I should manually downaload Android SDK (specific API level) in unzip/install into the CatalogRepository for the specific Delphi version.
The strange thing is that Google/Android does not provide the option to download specific, standalone SDK. Android, instead, suggests to download its own SDK Manager tools https://developer.android.com/studio/#command-tools and then do all the SDK management from that tool. While I can expect that this command line tool smoothly integrates with Android Studio, there is not suggestion that it integrates with Delphi SDK Manager.
I am aware of Target Android API 29 on Delphi 10.3.3 and https://docwiki.embarcadero.com/RADStudio/Rio/en/Adding_an_Android_SDK, there is no suggestion how can I get SDK of specific API level to my computer.
So - how to get SDK of specific API level to my computer ready to be used by Delphi SDK manager.
Additional Information: I am reading https://delphiworlds.com/2020/09/manual-android-sdk-ndk-install-delphi/ and http://delphi.org/2019/06/manually-installing-android-sdk-ndk-and-java-for-firemonkey-development/ and they may give the answers. Delphi has it own peculiarities.

Building app with Cordova using Visual studio

I am using visual studio to develop cordova apps, they seem to run perfectly on ripple emulator but when I select GOOGLE ANDROID EMULATOR then it gives the error as
THIS AVD's CONFIGURATION IS MISSING A KERNEL FILE
and when I use VS EMULATOR 5'' KITKAT(4.4) XXHDPI PHONE then it gives the error as YOU DO NOT HAVE PERMISSION TO MODIFY HYPER-V NETWORK ADAPTER SETTINGS
Can anyone please help?
It seems like you have an incomplete install of the Google Android Emulator and have to install one yourself.
Download Android Studio, open the SDK manager, and install the following components:
latest "Android SDK tools"
latest "Android SDK platform-tools"
latest "Android SDK build-tools"
Android 6.0 API 23 - SDK platform -- to build the latest kind of Android app
Android 5.0.1 API 21 - SDK platform -- to use the emulator successfully
Android 5.0.1 API 21 - ARM EaBI v7a System Image -- the emulator image which you can use on a machine with Hyper V activated
Then, open the AVD manager and create an emulator with the ARM system image.
Finally, go to tools->options->"Tools for Apache Cordova" -> Environmental variable overrides, and link to where your customized Android Studio is installed.

What packages are really required for Android Applications Development

I've a 40kb/s Internet. The Android SDK took me 1 and half hour to download(at first I thought it is packaged with all required packages). I am using Ubuntu 14.10(yea, it took me 11 hours to download).
I downloaded and installed Android SDK Tools, Android SDK Platform-tools and Android SDK Build-tools. In Android 5.0.1(API 21), I unticked both Android TV whatever System Image and both Android Wear whatever System Image because I am sure that I'm not going to use it.
My questions is what things are really required for Android applications development? Can anyone explain what are those packages for?
EDIT: I am not new to Java development. I have Java JDK 7, Eclipse(without the ADT plugin) and IntelliJ installed. I'm going to use IntelliJ as it is came with "Android Support" plugin)
Downloading this packages will be enough for you
SDK Platform in Android 5.0.1 (API 21)
Android SDK Tools 24.0.2 in Tools
Android SDK Platform Tools 21 in Tools
Android SDK Build-tools 21.1.2 in Tools
You need eclipse,adt bundle and android sdk tool that's it. No other thing is required for it.
Basically you need:
Eclipse IDE integrated with Android
Select Android version on which you're going to develop your application (Lolipop/KitKat etc) through SDk Manager
Java SDK (with JRE)

Creating Android App

I'm installing qt-everywhere-opensource-src-5.2.1.zip for windows and I want to be able to use this to create an Android app using Visual Studio 2010. Am I going about this the right way? Will this version of Qt work for an Android app and is it ok to use Visual Studio 2010 for this kind of thing? I'm coding in C++.
Thanks
You should download and install:
Qt 5.x here.
Android SDK (ver. 22+) here
NDK (ver. r9+) here
If you don’t plan to create Android Java apps, then make sure you are downloading ONLY the SDK and not ADT Bundle or Android Studio.
After downloading extract them, open Android SDK (you should have a connection to Internet) and download the desired tools, you have to install at least Android API-13! You also must install Android SDK Platform-tools and Android SDK Build-tools.
Open Qt Creator. Goto Tools->Option->Android settings page and set Android SDK and NDK locations.

Android SDK and Eclipse, shows different installed platforms?

When I open C:\Program Files\Android\android-sdk\SDK Manager.exe it shows me that I have installed
Tools
Android SDK Tools
Android SDK Platform-tools
Android 2.2 (API 8)
SDK Platform
Samples for SDK
Google APIs
When I open Eclipse and click on the "Android SDK Manager" button it shows that Ive installed
Tools
Android SDK Tools
Android SDK Platform-tools
Android 4.0.3 (API 15)
Documentation for Android SDK
SDK Platform
Samples for SDK
ARM EABI v7a System Image
Google APIs
Sources for Android
Android 2.1 (API 7)
Documentation for Android SDK
SDK Platform
Samples for SDK
Google APIs
Extras
Google USB Driver
Why does it show different packages and wich one should I use?
This is most probably because Eclipse is using a different Android SDK location than C:\Program Files\Android\android-sdk. Take a look at Preferences > Android > SDK Location field to see what Eclipse is using.
Go to Windows Menu, Click on Preference Option and in the Dialogbox left side there is second option called "Android", click on it & check that your SDK directory is same as you are view from C: or some other.

Categories

Resources