Regarding Android NDK Removal - android

I have so many android ndks and sdks installed in my laptop and takes up space.
Because I use Android Studio I think I shouldn't uninstall the sdk but there are so many ndks.
Also, that I use Xamarin, I need one package of ndks so I thought which one should I uninstall.
And I can't see them in Programs and Features.
I'm using Windows, by the way. Any ideas?

I can't see them in Programs and Features.
The NDKs aren't "installed" like typical Windows programs. They are just extracted zip files. To remove them you just delete them from your file system.
To remove any downloaded with Android Studio, they can be removed via the SDK Manager in Android Studio. For things installed with other tools, they might have a similar solution.

You can have one installation of Android SDK/NDK and delete the rest. You can manually set the SDK and Path in the Visual Studio and Android Studio to use

Related

How do I install a flutter in VS code with an emulator without Android Studio?

Though I have been working on Android studio for flutter as a new bee, now I am thinking to move in VScode and want to use blue stake like an emulator. Now I want to know is there any way of developing flutter in VScode without installing android studio??
Right now, installing Android Studio is the supported way to get all the bits you need:
https://flutter.io/setup-windows/#system-requirements
Flutter relies on a full installation of Android Studio to supply its Android platform dependencies. However, you can write your Flutter apps in a number of editors; a later step will discuss that.
It is possible to make things work without (by installing bits of the SDK, Gradle, etc. manually, and ensuring they're on PATH or in relevant env variables) but it's more complicated. I (the author of the Dart/Flutter VS Code plugins) used to run without Android Studio but things like upgrading the Android SDK are much simpler with Android Studio (as far as I can tell, the GUI for updating the SDK was seemingly moved from the SDK into Android Studio).
I haven't tried this. But you can download the SDK individually without downloading the Android Studio.
Here is the link: https://developer.android.com/studio/
Go to
Command line tools only
section and Download the respected version according to your OS.

Separate Android SDK for Unity project?

I have a Unity project that uses google vr. Unfortunately, there are some incompatibilities with the newer versions of tools and platform tools in the android sdk.
I think I can just have a separate android sdk that has the older, compatible versions of these folders and put it in my Unity project. This would allow me to keep the android sdk associated with my Android Studio projects up-to-date and keep my Unity project working. BUT, it means having two copies of the android sdk... which are big (It said ~30G when I started copying my android sdk).
Is there a more elegant solution that would not take up so much space?
The Android SDK is not particularly large: you can choose which parts of it you need, and install only those.
One of the things that make it so large is Android device images (emulators). If you don't need those, don't install them and it should take less space on your hard drive.
what u need to do is to specify android sdk in Edit-Preferences-External Tools

Migrating from ADT to Xamarin, Xamarin cannot locate my copied Android sdk

I am trying to migrate from ADT to Xamrin.
I have installed Xamarin on Windows.
I have installed sdk. But when I try to download tools and sdks from SDK manager I get and error like this:
But since I already had downloaded everything when I was using ADT, I copied the sdk folder to the new computer I have Xamarin on.
But Xamarin does not seem to be able to locate sdk.
I have installed Android sdk here:
When I go to tools->options and I enter the address of the sdk folder, the red cross does not go away. I tried entering all subfolders in sdk folder.
What am I supposed to do?
I've been dealing with this the whole day. No usefull link or guide since Xamarin is not stoll widely used. Any help is appreciated.
First of all, it's a good idea to remove all spaces from pathes.
I use C:\Android as my base path, c:\Android\SDK, c:\Android\NDK etc. I had some serious problems with Xamarin and spaces / accented characters in path in previous versions.
Furthermore there's an Access Denied on your path in the first screenshot, add read/write rights recursively for the folder c:\program files (x86)\Android (Everyone - Full control if anything fails)

More problems installing Android SDK and Eclipse

My first issue is: I cannot seem to find an executable for the Android SDK! I have downloaded and installed via the Android SDK Manager the necessarie files, at least I hope I have. To start the ball rolling I download: API 15, Android SDK tools and platform tools plus Android 3.2. Am I missing something? The problem is I cannot find any executable file to run my `Android SDK! Where is it?
I then went on to download Eclipse Java IDE, thinking that now I have my Android SDK installed it will surely run, the problem here is that when I try to run the executable of the download file it comes back with message:
'The Eclipse executable launcher was unable to locate it's companion shared library'
Any help as to what I could do to finally run my Android SDK or Eclipse Java IDE would much be appreciated.
Download eclipse 'Eclipse IDE for Java Developers' from:
http://www.eclipse.org/downloads/
Then download SDK from:
http://developer.android.com/sdk/index.html
This video can help you:
http://www.youtube.com/watch?v=BLLX9EtG6CI
In fact the SDK has several executables: adb, android, etc. You will access these via Eclipse and/or command line. Setting up the Android development environment is surprisingly painful. It's more or less described here. Try that, and when you run into your next roadblock, you let us know.
An alternative, if you're having troubles getting everything set up, is MOTODEV Studio from Motorola. It's a free product, but requires registration. One of the use cases we pay attention to is new developers who are having trouble with Eclipse and/or the Android SDK.
Disclaimer: it's my team's product.

New to android dev

I am new to android dev, own an HTC Eris Droid (OS = 1.5 or 1.6 I believe). I am primarily a Microsoft .NET developer and am trying to figure out where to start.
What dev IDEs are suggested. I've seen the droid dev site and they suggest Eclipse. But which one?
Will installing Eclipse and the JRE interfere with .NET development?
What else will I need to get started? My OS is Win7.
TIA
As a .NET developer who has recently been looking at Android development, I can give you the steps I used:
Download Eclipse Classic 32-bit (as recommend by the Android docs) and extract it to a folder where it has write permissions (I use %homepath%\applications\eclipse\3.5\)
Download and extract the Android SDK to a permanent home and run SDK Setup.exe. Let it download/install all the packages
Add ANDROID_SDK_HOME\tools (expanded, obviously) to your %PATH% system environment variable in System Properties (WIN+BREAK)
Install the ADT (Android/Eclipse integration) plugin for Eclipse
Then to checkout the samples:
Create a workspace and a new Android project
Copy the contents of one of the samples (ANDROID_SDK_HOME\platforms\android-x.x\samples) into your project directory
Refresh your Eclipse view
I also strongly recommend checking out the Android Developer Guide and, in particular, reading the Application Fundamentals. It really gives a good overview of the terms used and the lifecycle of an application.
After that you can dive into the samples (installed by the SDK) with a little bit of clarity.
For development you will need*:
Java JDK - the JRE is not enough for Java development.
Eclipse - it doesn't really matter which "package" you choose, but for your needs the basic (smallest) one should be enough.
Android SDK + ADT
This should have no effect on .Net development, or on anything for that matter.
You don't actually need Eclipse and ADT, but since you asked about IDEs...
The android developer site system requirements says any version of Eclipse after 3.3.
Eclipse uses plugins to support different configurations that's why www.eclipse.org/downloads/ has so many different versions - they're the core IDE with different plugin configurations.
I'd recommend the 'Eclipse IDE for Java Developers' as this will have what you need without too many bits you don't - you can install additional plugins easily.
Of course, you'll also need to add the Android SDK once you have Eclipse - this is a set of tools and plugins that work with Eclipse.
Installing Eclipse and the JRE (Although you want the JDK - The Development Kit rather than just the runtime) will not interfere with your .Net development.
This version of Eclipse should work fine. Just select a download mirror.
You probably already have the JRE installed, but you should install the JDK from here.
Then you need to get the Android SDK, and ADT
After you install the Android SDK, it may be useful to create multiple virtual devices using the included Android emulator running different versions of Android. This will help you to learn features included in Android up to version 2.1 instead of being limited to your current device running 1.x.

Categories

Resources