DAVE
DAVE

Reputation: 125

Is the android SDK different for windows and ubuntu (not android studio just the sdk-system images build tools etc)

I am shifting from windows to ubuntu. I have downloaded ANDROID STUDIO for ubuntu but do I also have to install a new SDK or i can use the windows version(build tools, platform images ...etc).

I want to avoid downloading GB's of build tools, platform tools , play services, etc.

Upvotes: 7

Views: 2720

Answers (4)

Neh
Neh

Reputation: 452

Android SDK is platform-dependent. Below discussions and links are helpful,

Android SDK platforms between Linux and Windows

and Are there dfferences between the Windows and Linux versions of the Android SDK?

Hope this is helpful.

Upvotes: 0

rymate1234
rymate1234

Reputation: 448

The binaries within the Windows version of the SDK will not work on Linux. Since the two operating systems have different executable formats and different core libraries, the executables in the Windows version won't run on Linux.

There are some things you can copy over - for instance you'll most likely be able to copy over the system-images folder within the SDK, as this contains the disk images used within the emulator. This might be the same for some of the other folders, I'm not sure though.

Upvotes: 4

Jatin Balodhi
Jatin Balodhi

Reputation: 162

I think you need to install sdk again for ubuntu OS, I once tried to add windows android sdk and found it not working. It may be because of different os architecture.

link!

May be that's why google provide different file for mac, windows & Linux I hope this helps.

Upvotes: 0

L. Swifter
L. Swifter

Reputation: 3237

You need to download a new SDK, windows version is incompatible with linux.

Upvotes: 0

Related Questions