![]() My problem is that Unity doesnt find my android-sdk and the building seems go in an endless loop with a 'detecting android-sdk.' output. Im using Jenkins to manage the building and to see the unit圓d output. ![]() Make sure you have the latest Android SDK installed, and the “android” command (inside the tools/ folder) is added to your path.Īt /Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/lib/check_reqs.js:85:29Īt _rejected (/Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/node_modules/q/q.js:808:24)Īt /Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/node_modules/q/q.js:834:30Īt Promise.when (/Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/node_modules/q/q.js:1079:31)Īt (/Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/node_modules/q/q.js:752:41)Īt /Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/node_modules/q/q.js:574:44Īt flush (/Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/node_modules/q/q.js:108:17)Īt process._tickCallback (node.js:419:13)Įrror: /Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/create: Command failed with exit code 8Īt ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/src/superspawn.js:126:23)Īt (events.js:98:17)Īt Process.ChildProcess._handle.onexit (child_process. Hi, Ive got a problem using unit圓d command line for building an android apk. Users/remythellier/.cordova/lib/android/cordova/3.4.0/bin/node_modules/q/q.js:126Įrror: The command “android” failed. (For macOS) Use 'Finder' to check the SDK installed directory. SDK PATH C:\Users\UserName\AppData\Local\Android\Sdk JDK PATH C:\Program Files\Java\jdk-9.0.4\ I have tried jdk1.7.025 no success NDK PATH: C:\Users\UserName\Downloads\android-ndk-r13b-windows-x8664\android-ndk-r13b When i attempt to build the project i get the message Detecting Android SDK Unable to List Target Platforms. If that didn't help, you can find some more in-depth instructions here. After that navigate to the android folder>SDK> and you will find platform-tools there. Hold the option key and library folder will appear. In the context menu, select the Open command prompt here or Open in Terminal option. The library folder is usually hidden on a mac. ![]() While pressing the Shift key on the keyboard, perform a right-click on your mouse at an empty place inside the folder window. To be even more precise I have this error after a ionic platform android : Open the folder in which you extracted the content of the Platform-tool.zip file. ![]()
0 Comments
Leave a Reply. |