Install Latest Version of Android Studio and SDK Platform Packages and Tools
To run Simulink® models on your Android® device, you must install Android Studio and Software Development Kit (SDK) platform packages and tools on your host computer. The SDK tools include Android SDK Build-Tools, Native Development Kit (NDK), and Android SDK Platform-Tools.
Downloading and installing the latest version of the Android Studio and the SDK packages and tools on your host computer might cause sporadic build issues or errors while deploying a Simulink model on your Android device.
Install Latest Version of Android Studio
Follow these steps to download and install a tested version of Android Studio on your device:
Go to Android Studio and agree to the terms and conditions.
Double-click the downloaded
.exe
file and follow the instructions on the screen to install Android Studio.
Install Latest Version of Android SDK Platform Packages and Tools
Follow these steps to download and install the latest version of Android SDK platform packages and tools on your host computer:
After installing Android Studio, follow any one of these steps to open SDK Manager from the Android Studio application:
On the Android Studio landing page, select Configure > SDK Manager.
From your Android Studio application toolbar, select Tools > Android > SDK Manager.
From your Android Studio application toolbar, click SDK Manager.
In the Default Settings dialog box, click these tabs to install Android SDK platform packages and developer tools:
SDK Platforms — Select the latest Android SDK package to compile your application with the latest version of SDK platform.
SDK Tools — Select the latest Android SDK Build-Tools, NDK (Side by Side), and Android SDK Platform-Tools.
Note
The Android SDK location displayed in the Android SDK Location parameter must not contain any white spaces. White spaces might cause problems when working with Android NDK tools. You can edit the SDK location by clicking the Edit button.
Click Apply. Android Studio starts installing the selected packages and tools on your computer. Once installed, the Status of the installed packages and tools changes from Not installed to Installed.
Click OK.
See Also
Android Developer Options | Install Tested Version of Android Studio and SDK Platform Packages and Tools | Update to Latest Version of Android Studio