install android sdk on ubuntu - android

I have downloaded the android sdk tools now according to this page I should update it so I go to it's directory and type:
./android
when sdk manager opens I can see that sdk tools is installed but there isn't anything else to do. But since Qt doesn't recognize sdk so I assume I have not completely installed it yet. Is there anything else I should do to complete the installation?
Edit:
I tried somthing else. I downloaded ADT bundle. in that folder there is a sdk folder I used that folder and it worked with qt. But in that directory there are some folders that in my original sdk didn't exist:
extras
platform-tools
system-images

I suggest you to go with ADT Bundle for Linux, you can get it from following link
Android ADT for Linux
Extract the downloaded package.
Download OpenJDK for Linux and install
Update QT if necessary
Add your location of SDK to QT
Now you might be able to run Eclipse from your ADT location
ADT bundle contains
Eclipse + ADT plugin - A Customized eclipse with location of Android SDK is presetted
Android SDK Tools - Inside tools folder, contains android SDK services like Emulator, Hierarchy viewer, SQLite etc
Android Platform-tools - Contains the Compiler runtime, ADB etc
The latest Android platform - Contains each and every android versions you have downloaded with platform specific samples and themes for emulator
The latest Android system image for the emulator - Contains a system image for each of the emulator for the platforms you downloaded

Download Android SDK for Linux from Here
Extract the folder.
Now navigate to eclipse folder and run eclipse from there. android sdk is already integrated in this eclipse package and you will also get the latest SDK with this package.
UPDATE: Directory path for QT
Android SDK Location: /home/vipul/dev/android-sdk-linux
Android SDK Location: /home/vipul/dev/android-ndk-r8e
JDK Location: /usr/lib/jvm/java-6-openjdk-i386

Related

Change the directory where VS 2017 Installer install packages

I use both Xamarin and Java for android development. I want them use the same SDK to save disk space. By default, VS Installer install the android sdk in C:\Program Files (x86)\Android\android-sdk, which contains whitespaces. Android studio cannot perform with sdks installed in whitespaced path, as it causes problems with Android NDK.
I think you could try to move SDK to AS SDK folder. It's in C:\Users{username}\AppData\Local\Android\Sdk.
In VS, you could open SDK manager in Tools->Android->Android SDK manager.
Then change the default folder.

Path SDK for Unity

Maybe a simple question but i can't seem to get it fixed.
I want to Build my Application (for android)
After i connected the SDK and JDK path's i press build
The following message pops up.
I had the same problem.
fixed it by downgrading the sdk tools.
Delete android sdk "tools" folder
: [Android SDK root]/tools -> tools
Download SDK Tools:
http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip
Extract the folder to Android SDK root
Build your project
found it:
Download tools r25.2.5
Google
Change your tools folder to toolsXXXX (because you need it for Android studio)
unzip the tools r25.2.5 in the SDK location
Works fine now. probably something with an update...

Appcelerator Studio will not install Android SDKs

I am using Appcelerator Studio on Mac OS X
Appcelerator Studio, build: 4.4.0.201511241829
Build: jenkins-appcelerator-rcp-master-339 (origin/master)
Date: 24 November 2015, 18:30:16
Titanium SDK version 5.1.2.G
I have been trying to install the Android SDK's without success. I am using the Install from the software under Preferences -> Platforms -> Android
If I browse to the directory with the SDKs I get the error message:
[Android SDK Home] No Android SD...nder the specified SDK location
All the Android SDKs have been loaded by Android Studio so I know they are there.
If I try to install the SDKS through Studio it goes through the motions, downloads and unpacks the files etc and then gives me a completed screen but no sdks is actually saved.
I have tried uninstalling and reinstalling Studio without success
any help is appreciated
Just give path of your android-sdk main directory only. If you are doing correctly then check in that folder having all required folders or not. I attached screenshot for what folders should be there.
If any of folder missing in mentioned image, it means, your SDK not properly installed. And you need to install it again. you can download SDK from here: http://developer.android.com/sdk/index.html#Other
Follow the instruction given in above link and again set path as you were doing before. And install all required SDK using install SDK given in Preferences -> Platforms -> Android.

Coudn"t find emulator.exe in eclipse after I updated my sdk..?

After finishing updates with android api-22 and all other updates I am not able to open my sdk manager, it shows like "couldn't find emulator.exe (d:\eclipse\sdk\tools)"..
when I just open my tools folder I found only lib folder is available rest of the folders are deleted,I have no idea why it is happened...worried!!!
need help..thanks in advance!!!
I would heavily recommend using android studio because eclipse is no longer supported by android developers.
Download SDK Tools 24.0.1 and Copy the platform-tools folder content to your sdk path > platform-tools folder
Once this error is removed then :
Open SDK Manager and update these things :
(1) Android SDK Tools
(2) Android Platform Tools
(3) Android Build Tools

No build tools installed in the SDK (sdk tools already installed)

I'm having trouble exporting my first APK in eclipse. When I click on finish, I get the message: No build tools installed in the SDK.
I've googled the problem but all the results say that i have to install Android SDK Tools, but I have it and it's been updated (22.0.1).
Any ideas?
Thanks!
EDIT:
I have ALL the packages installed but still the same error.
Ubuntu 12.04
Eclipse 3.8.0
JDK 7
From version 22 forward the build tools is a separate package. Open then Android SDK Manager and check Android SDK Build-tools and click install. The package will download and you'll be able to export/build.
If eclipse is pointing to the wrong Android SDK it won't find the build tools. If you're sure you installed the right build tools, it may be that eclipse is pointed to the wrong directory. So if you're on windows, in eclipse, goto Window -> Preferences -> Android, and check the field in "SDK Location" eclipse is looking for the build tools in a subdirectory of that folder. Goto that folder and run the SDK Tools.exe and install everything in that GUI and it should work. Otherwise, change the path to your other SDK installation.
Here's a kinda same tutorial for Mac:
Add SDK to eclipse and no Target

Categories

Resources