Menu
Imagine your playing an Android game, you’re winning already but ended losing because of some minor problem caused by a fixable bug. Naturally, you’ll get frustrated and irritated by the fact that the game’s developers will take a few more months (or years) to release the next update. Thanks to Google’s Android SDK, you can now personally (and manually) fix, profile, and develop your own Android applications. Most importantly, it is provided free for everyone who needed tools to work with Android from a computer. Although, this one needs a lot of your patience since it requires a higher set of skills in order to utilize its features. But is it really worth your time?
![Download Android Studio For Mac Os Sierra Download Android Studio For Mac Os Sierra](/uploads/1/2/6/5/126580099/782284021.jpg)
Enter one tab you’d like. Choose “Import Files” to transfer files from Mac to Android, and select “Export” to transfer files from Android to Mac. The drag-and-drop function works, too. The operation is easy and the transfer is fast. Once you download three items or more on Mac, they will be compressed into a zip so as to shorten the time. Google provides Android Studio for the Windows, Mac OS X, and Linux platforms. (Yosemite) or higher, up to 10.13 (High Sierra) 3 GB RAM minimum, 8 GB RAM recommended (plus 1 GB for the Android.
Download Google Android Studio 3.1 for Mac free standalone latest offline installer for Mac OS X. Google Android Studio 3.1 for Mac is a reliable and complete Integrated Development Environment to develop Android applications.
A reliable toolset for creating and updating Android applications
You don't need to wait for the updates when you can do it yourself.
Android SDK is a toolset that enables developers to create and update different apps for Android devices. It gives mobile software developers the opportunity to manually fix, text, profile, debug, and update their own software within the same platform. This toolset includes a debugger, an emulator, Application Programming Interfaces (APIs), sample projects with source code as well as the required libraries to build Android apps. These tools are platform-independent and are essential in creating Android apps, regardless of the version you are working for. Most importantly, it comes with an emulated virtual device that is fully functional that allows you to test out your work in progress.
Now that you have a basic knowledge about the toolset, you should also understand that even if it contains almost everything you need to create and further develop an Android software, it still needs the support of other important command-line tools such as Platform tools, and the Android Emulator, in order for you to get started.
Platform tools
These tools are customized and used to support new features of Android’s latest version, as well as the prior versions. It works along with Build tools for encryption, security, and file size purposes. One of the tools included in this group is the Android Debug Bridge (adb). It can be used to install an Android app file on any of your devices and allows you to access additional shell tools like bmgr and logcat.
Android emulator
This emulator is a QEMU-based device-emulation tool that allows you to debug and test your apps in an actual Android runtime environment even without using any physical devices. Running the emulator will require you to have a system image, an additional tool to your toolset. Each platform version contains the supported system images. You can download these system images while creating Android Virtual Devices (AVDs) within its manager. Simply select either Intel or ARM-based on your development computer’s processor.
Android SDK platform
Download Mac Os High Sierra
To compile your apps, you’re required to have at least one platform in your environment. While to provide the best user experience on your latest devices, you’ll need to have the latest platform version as your build target. You’ll still be able to run your app on older versions but you must build against the latest version in order to utilize new functions featured when running on devices with the latest OS version.
In order to properly run this set of tools, you’ll need an Integrated Development Environment (IDE). Although the SDK can be used to write programs in the command prompt, the most common method is by using an IDE. This is where Android Studio comes in, it allows you to compile and edit your code, or test your app before releasing it on Google Play. Installing Android Studio is also the easiest way to get a working set of tools on your PC. It will also keep your Android SDK tools up to date with its automatic updates and the Android SDK Manager.
This set of Android development tools is easy to set up and run. Its user interface is a little bit blunt and traditional but it’s also straightforward and intuitive. The whole process using this toolset is not intuitive enough for novice app developers. However, there are lots of available documentation and tutorials online that can help in assisting you in using Android SDK.
Where can you run this program?
You can download the toolset for free. It is highly compatible with Windows (recommended), Mac OS X, and Linux. There are two ways to get a copy of the toolset’s compressed file. The first one requires you to download the whole Android Studio file which already contains the toolset (and other Android development tools). While the other one is way more complex than the first one. You can download the zip file easily but setting it to your computer varies from the OS you’re using. But no need to worry since step-by-step tutorials are available online.
Is there a better alternative?
There are a lot of alternative options you can download online for free. In case you’re thinking of creating games for Android devices, Unity 3D is your best bet. It is a game engine and IDE for cross-platform game development. It is also user-friendly which makes it highly recommendable for everyone--either you're a beginner or a professional developer. It comes with multiple features you can easily master. Unlike Android SDK, this IDE makes your development process much easier and will help you save a considerable amount of time and headaches. It is currently best for 2D games, but you can also utilize it also to create virtual reality apps for Daydream, Cardboard, and the Gear VR. While if you’re looking for a powerful, all-around IDE which supports a wide range of languages including C#, VB.net, JavaScript, and more--then try Microsoft’s Visual Studio.
Our take
Android SDK will allow you to experience a fast and reliable development environment which will definitely give you more reasons to work hard with your projects. It’s more likely a playground for professionals rather than a paradise for beginners since using it will require you adequate knowledge about the app development process. On the other hand, having it for free will help you save a considerable amount of money. Using it will allow you to fix and make necessary improvements to certain Android apps without the trouble of waiting for the developers to finally release the updates.
Should you download it?
Yes. Since it’s efficiently fast, reliable, and especially trust-worthy solely for the reason it’s created by Google. Although it’s free, there are other (better) alternatives out there for you to explore such as Unity 3D and Visual Studio.
3.0.1
This guide is a part of the series about third-party Android code debugging:
- Debugging third-party Android Java code on OS X (the guide you are reading now)
There is a very detailed article from @CR0SP about debugging third-party Android Java code on Windows. It’s great and I’d recommend you to read it first, especially if you use Windows. Also, there is another guide on debugging third-party Java code, please read it as well.
In this blog post we are talking about similar things considering specificity of OS X.
You need a Mac and an Android device with “USB debugging” options enabled. The device may be or may not be rooted, it doesn’t matter.
On the Mac,
- Install the latest Android Studio. After installation, check Android Studio settings ➡ Appearance & Behavior ➡ System Settings ➡ Android SDK ➡ SDK Tools ➡ Android SDK Platform Tools. The Android SDK Platform Tools must be installed.
- Make sure that Android Device Monitor (DDMS) works properly with your Android device. RunIf it crashes with an error or stuck on start, try to downgrade JDK on the Mac (see Tip #1 below for details). On my Mac, running OS X High Sierra 10.13.2, Android Device Monitor works with JDK 1.8.0_141 or lower; it fails with JDK > 1.8.0_141. You can find old JDKs in the Oracle archive (Oracle account may be needed to download).Also, Android Device Monitor may not work properly because of the Android device you use. E.g. on my Meizu M5c it starts, but doesn’t show apps (“Devices” and “Threads” tabs are empty). It looks like a device-specific problem, at the moment I don’t know how to fix it without flashing the device with a custom ROM. So if you face something similar, try another Android device.
- Download the latest JAR’s for smali and baksmali and place to any suitable directory. Consider creating shell wrappers (see Tip #2 below for details).
- Download the latest smalidea archive and install it to Android Studio (just follow the instruction “Installation” section).
- Install 7zip (install Homebrew and then run
brew install p7zip
in OS X Terminal).
No need to prepare your Android device in some special way, just make sure it works with Android Device Monitor (see step 2 above).
Tip #1. If you want to remove the current version of JDK, run
It will print the JDK’s home directory, e.g.
Remove the JDK home directory (
/Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/
in the example above). If it doesn’t help, also removeDone.
Tip #2. Consider adding the folder where you placed the smali/baksmali JAR’s, to PATH, and creating simple shell script wrappers for the JAR’s. Here is an example for
smali-2.2.2.jar
:So you just type
smali.sh
in Terminal, instead of annoying java -jar <path/to/>smali-2.2.2.jar
. Anyway, further in the guide, I will use smali.sh
and baksmali.sh
wrappers for the JAR’s.For example, let’s debug Java code of Skout:
- Get the original APK. For Skout (as well as for any app, installed from Google Play), you can just copy the APK from the Android device with
adb pull
: - Baksmali DEX classes from the original APK. Run on your Mac:
- Create an Anroid Studio project. Run Android Studio and choose in the main menu: “File” ➡ “New” ➡ “Import Project”. Choose the
skout-for-debugging/
directory created at the previous step:Click “Open”. Then choose “Create project from existing sources”:Click “Next”. On the next step, check if the “Project location” path is correct (it must point to yourskout-for-debugging/
directory):Click “Next”. Wait while Android Studio is inspecting the directory, then make sure thatskout-for-debugging
directory is checked:Click “Next”. Wait while Android Studio is looking for appropriate frameworks (spoiler: it will not find any). Get the messageand click “Finish”. Wait while Android Studio is indexing files, then, in the left panel, choose “Project ➡ Project Files”:Mark theskout-for-debugging/smali-src/
directory as the sources root:The Android Studio project created. - Create a remote configuration. In the main menu of Android Studio, click “Run” ➡ “Edit Configurations…” ➡ “+” ➡ “Remote”:On “Configuration tab”, change “Port” to
8700
:Re-name the configuration, if you want (change the “Name” field). In this example, we will leave it “Unnamed”.Click “OK”. - It’s time for Android Device Monitor. Connect your Android device to the Mac via USB, run the app on your Android device, run Device Monitor on your Mac, and choose the app on the “Devices” tab:
- Run debugging. Switch back to Android Studio. In the main menu, click “Run” ➡ “Debug ‘Unnamed’” (here “Unnamed” is the name of the remote configuration we created on step 4 above, remember?). As result, Android Studio must sayConnected to the target VM, address: ‘localhost:8700’, transport: ‘socket’in its console:Also, the app must be marked with a green bug icon in Android Device Monitor:
Note! Alternatively, you can run Android Monitor before you create the remote configuration, look at the first port number
and use it in the remote configuration instead of
8700
.Now you can set breakpoints in Dalvik code, trace Dalvik instructions, inspects registers etc.
Mac Os High Sierra Iso Download
Commenting is not available in this blog, but you can write me a letter or message. Please, note that English is not my native language. I'm sorry for mistakes/missprints, if any.
Prev: Debugging third-party machine code in AndroidNext: A quick word on Xposed + JustTrustMe SSL certificate UN-pinning