- Virtual Reality Blueprints
- Charles Palmer John Williamson
- 222字
- 2021-06-24 18:50:50
Invalid command Android error
Some Android users have reported an error relating to the Android SDK Tools location. The problem has been confirmed in many installations prior to Unity 2017.1. If this problem occurs, the best solution is to downgrade to a previous version of the SDK Tools. This can be done by following the steps outlined here:
- Locate and delete the Android SDK Tools folder [Your Android SDK Root]/tools. This location will depend on where the Android SDK package was installed. For example, on my computer the Android SDK Tools folder is found at C:\Users\cpalmer\AppData\Local\Android\sdk.
- Download SDK Tools from http://dl-ssl.google.com/Android/repository/tools_r25.2.5-windows.zip.
- Extract the archive to the SDK root directory.
- Re-attempt the Build project process.
If this is the first time you are creating an Android application, you might get an error indicating that Unity cannot locate your Android SDK root directory. If this is the case, follow these steps:
- Cancel the build process and close the Build Settings... window.
- Choose Edit | Preferences... from the main menu.
- Choose External Tools and scroll down to Android.
- Enter the location of your Android SDK root folder. If you have not installed the SDK, click the download button and follow the installation process.
Install the app onto your phone and load the phone into your Cardboard device:

Figure 2.11: Stereoscopic view on an Android device
推薦閱讀
- 社交電商運營策略、技巧與實操
- Drush User’s Guide
- SD-WAN架構與技術(第2版)
- HTML5 Game development with ImpactJS
- React:Cross-Platform Application Development with React Native
- Getting Started with Grunt:The JavaScript Task Runner
- 城市治理一網統管
- IPv6網絡切片:使能千行百業新體驗
- Kong網關:入門、實戰與進階
- 搶占下一個智能風口:移動物聯網
- 物聯網工程導論(第3版)
- Getting Started with Memcached
- Qt5 Python GUI Programming Cookbook
- 物聯網傳感器技術與應用
- ElasticSearch Server