Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the dif between mac and windows about android SDK

as the question stated. I am planning to copy android SDK library from my microsoft windows pc to my new Mac PC. Should I download the mac version of sdk or copying the directory from windows to mac is enough ?

like image 838
Olgun Kaya Avatar asked Jun 02 '12 21:06

Olgun Kaya


1 Answers

The SDK (Java part) is identical, but the NDK (which may also be called a part of the SDK) contains prebuilt Windows/Linux/Mac versions of the GCC compiler to produce ARM/MIPS/x86 Android executables.

To compile native native code on Mac you need different prebuilt GCC toolchain (included in NDK). That part certainly cannot be copied from Windows.

To build Java just make sure your Mac is not too old (like PowerPC) and support the Android SDK and official JDK to run Ant build scripts.

The direct copying may have one problem: the CLASSPATH variable will point to your old Windows paths, not the Mac paths.

like image 189
Viktor Latypov Avatar answered Oct 01 '22 23:10

Viktor Latypov