- #HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 INSTALL#
- #HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 UPGRADE#
- #HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 FULL#
- #HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 ANDROID#
- #HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 CODE#
In certain scenarios where runtime errors occur, the debug info provided by the NativeScript CLI is not sufficient.
#HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 ANDROID#
#HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 INSTALL#
Please install the following running environment:
#HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 UPGRADE#
When using Android Studio to compile, please do not upgrade when prompted to upgrade the Android Gradle Plugin. Note: currently, the version of Android Gradle supported by Creator is 4.10.x, and the corresponding Gradle Tool version is 3.x (v3.2.0 is recommended).
Check the Android SDK Platform-Tools and Android SDK Tools.In the Android SDK Build-Tools, select the latest build Tools version.In the SDK Tools tab page, first check the lower right corner of the Show Package Details, show the version of the tool selection.In the SDK Platforms tab page, check the API level you want to install, and it is recommended to select the required mainstream API Level such as 23 (6.0), 26 (8.0) and 28 (9.0), etc.Download the SDK and NDK required to publish the Android platformĪfter installing Android Studio, refer to the official documentation and open the SDK Manager: SDK Manager Instructions. Starting with v1.10, we no longer support Eclipse's ANT build, we need to use Android Studio as an Android platform's build tool and you should download the required SDK and NDK packages in Android Studio. For details, please refer to the document: How do I set or change the PATH system variable?.
For effective running on Windows platform, you might need to restart the computer. By right clicking Computer on your computer, choosing Property -> Advanced system setting -> Environment Variables to check and modify environmental variables. On Windows platform, please confirm if JAVA_HOME is included in your environmental variables.
If JRE displays, then you need to install JAVA SE running environment. If JAVA SE displays, there is no problem.
#HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 CODE#
Input the following code into Mac terminal or Windows command line tool for check: java -version Download the Java SDK (JDK)Ĭompile the Android project requires a complete Java SDK tool on your local computer, download it at the following address:ĭownload and pay attention to select the machine and the operating system and architecture, download the installation can be completed after the installation process.Īfter the installation is complete, please confirm that the java command is valid on the command line.
#HOW TO SET ANDROID SDK LOCATION IN ANDROID STUDIO 3.0.1 FULL#
If you do not have a plan to publish to the Android platform, or if your operating system already has a full Android development environment, you can skip this section. To publish to the Android platform, you need to install all of the following development environments. Before using Cocos Creator to bundle and publish games to native platforms, you need to configure related cocos2d-x development environment first. Resource management considerations - meta filesĪpart from publish game to Web, Cocos Creator uses the JSB technology based on cocos2d-x engine for the cross-platform release of native games. V2.4 Custom Project Build Process Upgrade Guide