What is the difference between Mac and Windows about Android SDK

as it was said. I plan to copy the Android SDK library from my Microsoft Windows computer to the new Mac. Should I download the Mac version of sdk or copy the directory from windows on a Mac?

+4
source share
2 answers

The SDK (part of Java) is identical, but the NDK (which can also be called part of the SDK) contains ready-made versions of the Windows / Linux / Mac GCC compiler for creating ARM / MIPS / x86 executable files for Android.

To compile your own native code on a Mac, you need another ready-made GCC bundle (included in the NDK). This part, of course, cannot be copied from Windows.

To create Java, just make sure your Mac is not too old (like PowerPC) and supports the Android SDK and the official JDK for running Ant scripts.

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

+6
source

There is not much difference, but you will need to download the SDK again. This is due to the fact that not all Java, some of them are native code and will not work on your Mac coming from Windows. But functionally it is identical.

+4
source

Source: https://habr.com/ru/post/1415765/


All Articles