Last active
September 3, 2020 10:49
-
-
Save dev001hajipro/e1a7dd7b20825d23aa0fc3406a289715 to your computer and use it in GitHub Desktop.
Windows10でUnity2020.1.4f1にAndroid10.0(Android SDK Platform 29)をインストールする方法
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unity2020.1.4f1でビルドしたら、Google Play Consoleでエラーが出たので調べました。 | |
管理者権限でcmdコマンドプロンプト起動して以下のコマンドを入れていく。 | |
set java_home="C:\Program Files\Unity\Hub\Editor\2020.1.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK" | |
set android_home="C:\Program Files\Unity\Hub\Editor\2020.1.4f1\Editor\Data\PlaybackEngines\AndroidPlayer" | |
cd "C:\Program Files\Unity\Hub\Editor\2020.1.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\bin" | |
sdkmanager.bat --update | |
sdkmanager "platform-tools" "platforms;android-29" | |
sdkmanager.bat --list | |
Warning: File C:\Users\xxxxx\.android\repositories.cfg could not be loaded. | |
Installed packages:=====================] 100% Computing updates... | |
Path | Version | Description | Location | |
------- | ------- | ------- | ------- | |
build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools\28.0.3\ | |
platform-tools | 30.0.4 | Android SDK Platform-Tools | platform-tools\ | |
platforms;android-28 | 6 | Android SDK Platform 28, rev 6 | platforms\android-28\ | |
platforms;android-29 | 5 | Android SDK Platform 29 | platforms\android-29\ | |
tools | 26.1.1 | Android SDK Tools 26.1.1 | tools\ | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment