cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpogue <...@git.apache.org>
Subject [GitHub] cordova-android issue #369: Updated CLI scripts to support Android SDK Tools...
Date Thu, 16 Mar 2017 02:48:54 GMT
Github user dpogue commented on the issue:

    https://github.com/apache/cordova-android/pull/369
  
    ### Linux with Android SDK 25.2.2
    ✅ npm test
    ✅ ./bin/check_reqs
    ✅ ./bin/android_sdk_version
    ✅ ./bin/create
    ✅ ./cordova/check_reqs
    ✅ ./cordova/android_sdk_version
    ✅ ./cordova/build
    ✅ ./cordova/clean
    (No emulator images installed, so I didn't try that step)
    
    ### Linux with Android SDK 25.3.1
    ✅ npm test
    ✅ ./bin/check_reqs
    ❌ ./bin/android_sdk_version
    ```
    { Error: sdkmanager: Command failed with exit code ENOENT
        at ChildProcess.whenDone (/mnt/users/dpogue/Coding/cordova-android/node_modules/cordova-common/src/superspawn.js:169:23)
        at emitOne (events.js:96:13)
        at ChildProcess.emit (events.js:191:7)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:213:12)
        at onErrorNT (internal/child_process.js:367:16)
        at _combinedTickCallback (internal/process/next_tick.js:80:11)
        at process._tickCallback (internal/process/next_tick.js:104:9) code: 'ENOENT' }
    ```
    ✅ ./bin/create
    ✅ ./cordova/check_reqs
    ❌ ./cordova/android_sdk_version
    ```
    { Error: sdkmanager: Command failed with exit code ENOENT
        at ChildProcess.whenDone (/mnt/users/dpogue/Coding/cordova-android/node_modules/cordova-common/src/superspawn.js:169:23)
        at emitOne (events.js:96:13)
        at ChildProcess.emit (events.js:191:7)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:213:12)
        at onErrorNT (internal/child_process.js:367:16)
        at _combinedTickCallback (internal/process/next_tick.js:80:11)
        at process._tickCallback (internal/process/next_tick.js:104:9) code: 'ENOENT' }
    ```
    ✅ ./cordova/build
    ✅ ./cordova/clean
    
    It looks like the two failures are due to not having the `sdkmanager` tool on my path,
but it should be able to figure it out based on `ANDROID_HOME`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message