Creating Android App - android

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.

Related

Android SDK Tools

Where can I find information about all listed Android SDK Tools, what they mean and (maybe) how to use.
The best place to visit is Android Developers site.
Android SDK Tools is a component of the Android SDK. It includes the complete set of development and debugging tools for Android. It comes as a part of Android Studio. So if you install Android Studio, Android SDK tools will also get installed. You can also install it separately if you are using any other IDE like Eclipse for development.
Please refer the links below to get a better understanding of,
Android SDK Tools released so far.
Android SDK Platform Tools
Android SDK Build Tools
Android Support Library Packages
Android SDK Platform-Tools is a component for the Android SDK. It includes tools that interface with the Android platform, such as adb, fastboot, and systrace. These tools are required for Android app development. They're also needed if you want to unlock your device bootloader and flash it with a new system image.
Although some new features in these tools are available only for recent versions of Android, the tools are backward compatible, so you need only one version of the SDK Platform-Tools.
Check it:
https://developer.android.com/studio/releases/platform-tools
I hope It helps!

What is Android SDK build-tools, platform-tools and tools?

I know that this is a pretty basic question. But I am new to native android development and I am having trouble wrapping my head around what is what.
I am using the Android Standalone SDK and not using Android Studio so please guide be accordingly.
Let's say that I want to build my app for API level 19. what level of platform tools and build tools do I need to install.
This is what I have currently
As I want to build for API 19, which I have installed. Do I need to have version 19 of Android SDK build tools or they can be higher?
Kindly please explain to me what each term means as well in laymen's terms.
-Thanks
Build-Tools is a component
of the Android SDK required for building Android apps. It's installed
in the /build-tools/ directory
So, build tool is to build your android app. That is like the makefile for C projects. Output is an APK file.
Android SDK Tools is a component for the Android SDK. It includes the
complete set of development and debugging tools for Android. It is
included with Android Studio.
So, Platform tool is where all the tool to interact with the android device you have, such as fastboot and adb. For example, to install your apk into the devices, run it, debug it, and grep some file from it, you need to first connect your device to adb bridge and run all those command on it.
Let's say that I want to build my app for API level 19. what level of
platform tools and build tools do I need to install.
Basically, you should have all the latest thing here. If you are deploying for a API 19 device, you should also have the Android SDK platform 19.
I haven't touch those things in a while, because I install all those things anyway, so I'd appreciate correction.
Android SDK Build-Tools is a component of the Android SDK required for building Android apps. It's installed in the /build-tools/ directory. It includes the complete set of development and debugging tools for the Android SDK like emulator, sdcard, sqlite and apk builder etc.
For more details check Android SDK Build-Tools
Platform-tools are used to support the features for the current android platform including adb which is acting like a bridge to communicate with emulator or device.
You can also know more about this topic by clicking here
This may be old but i appreciate it. I build apk via the command line so I was thinking with this answer, I may not need the Platform-Tools.
By the way, we are on Android 12 already - API Level 32 :)

about downloading android sdk

I am learning about android.
I have downloaded Eclipse and Adt .
Now I have to download Android sdk. Should I download SDK as standalone tool or with Android Studio.
What is SDK and what all does it include?
Can I use both Eclipse and Android Studio with Sdk
Is better to use just Android Studio, this is the official Android Development IDE.
https://developer.android.com/intl/pt-br/sdk/index.html
Android Studio help you to download Android SDKs.
What is android sdk ? What does it include ?
It stands for Software development kit, and as the name suggests , it contains the platform (android version specific libraries to help you make apps for android platforms).
It contains different tools to help you install apps (adb tool), collect statistics and view information about the apps running in your devices etc.
Download sdk here
Can I use both Eclipse and Android Studio with Sdk ?
Yes you can , just have to point these ide's to the sdk's absolute path.
Should I download SDK as standalone tool or with Android Studio ?
You can do it either way, the former would require you to give its path to the ide you will be using, either Android Studio or eclipse.
Note
Android studio is the best and developer's guide by google recommends the same as well.
Some features of android studio
The SDK means Software Development Kit and is there for building android apps.
The sdk contains all the libraries you need to run your code on an android device.
Therefore eclipse and android studio can use the same sdk.
I really recommens using androi studio tho.
It is way better for developing android apps and comes with the sdk.
Eclipse was used some time ago but now android studio is the official ide for android, and way more powerful than eclipse.
Android SDK is a software development kit that is used to create Android applications.
You can download Android SDK as standalone and use it with eclipse to develop your android Apps.So you do not need to download Android Studio to develop Android Apps although it is recommended for starters.
You can download Android sdk only from here Or here
Also, The final step before you develop your android applications is to make sure that your android-sdk-tools,android-sdk-platform-tools,support-tools, and your API s are up to date.Check out your SDK Manager "Don't forget to run as administrator".

Xamarin forces me to download Android SDK and NDK

I have my Android SDK and NDK installed on my computer (On custom locations) . I am trying to install xamarin on my Windows environment but the installer wants to force me to install SDK and NDK . It looks like it cannot find by installations folder. Is there a solution to specify when my SDK and NDK are installed ?
Thanks.
I finally managed to get The installer detect my sdk location. Here's what I did:
Install Xamarin Studio Alone (https://store.xamarin.com/account/my/subscription/downloads)
Change your SDK , NDK , JDK Locations in Xamarin Studio settings and close
Download the Universal Installer and start
It will automatically detect that Xamarin Studio installed and will use its settings.
Install other dependencies
Start visual studio and enjoy !
The Xamarin Team really need to add the possibilty to select your SDK/NDK/JDK locations at INSTALLATION TIME
According to the Xamarin docs you can configure where it looks for the SDKs:
http://developer.xamarin.com/guides/android/getting_started/installation/windows/manual_installation/#Xamarin_Studio

Android:Where is exactly Android 1.6 SDK download?

I want install Android version 1.6 SDK. I already have Android development setup with Eclipse and Android 1.5 SDK.
Wherever i search in Google to download Android 1.6 SDK, it finally goes to link: https://developer.android.com/sdk/index.html
This link has three setup SDK zip files, but no where mentioned what version of SDK setup are those? Why such confusions in this Android website for showing just version of SDK setup files? Where i can get exactly Android 1.6 SDK setup download? Could someone point out me clearly?
Is there any special steps that i need to follow to overwrite 1.6 SDK with my existing setup environment?
If you've got 1.5 setup already, all you need to do is to open Eclipse, goto Window menu > Android SDK and AVD Manager. From there, select "Available Packages" and select the new components you want to download and install from there.
-In the SDK Manager, you may have to select Obsolete(under show) to see 1.6
AIUI the SDK is not versioned. You install the SDK, then install the 1.6-specific components into your development environment. It's all explained on the website, quoting:
Because each version of the Android platform can be installed as an individual component of your SDK, you can customize your development environment to the Android platforms you are targetting. Testing your app on multiple versions of the platform is very important in order to successfully operate on as many devices as possible. Be sure to install each version of the Android platform with which your app is compatible, then test your apps on AVDs that run each platform.
The new platform actually includes the older ones. If you install the latest platform, when you create a project you get to choose what platform you want to build against.
You can manage any Android SDK from the Android SDK and AVD Manager. Download it here
After downloading, unzip the file and run android.bat. You will find this inside the tools folder. You can then download any version of the Android SDK.
To install/update ADT, check out the guide at Google:
http://developer.android.com/guide/developing/eclipse-adt.html
http://developer.android.com/sdk/eclipse-adt.html#installing

Categories

Resources