cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Commented] (CB-12921) createmobilespec --android fail to build apk out
Date Wed, 14 Jun 2017 22:46:01 GMT


Filip Maj commented on CB-12921:

[~halton] I believe I fixed it. Can you give my branch a go and see if it works for you?

If so, I will merge it in.

> createmobilespec --android fail to build apk out
> ------------------------------------------------
>                 Key: CB-12921
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-mobile-spec
>    Affects Versions: Master
>            Reporter: Haitao Huo
>            Assignee: Filip Maj
> Failed to build mobilespec apk with all master code (w/o --global) on Windows on latest
commit [7a8101 |].
> {code}
> > cordova-mobile-spec\createmobilespec\createmobilespec.cmd --android
> Creating project from local git repos. If you have any errors, it may be from missing
> To clone repositories:
>   .\cordova-coho\coho repo-clone -r mobile-spec -r plugin-test-framework -r cli -r lib
-r plugman -r android -r js -r plugins
>   mkdir cordova-cli\node_modules
>   (cd cordova-lib\cordova-lib\ && npm install)
>   (cd cordova-plugman\ && npm install)
>   mkdir cordova-cli\node_modules
>   ln -s ..\..\cordova-lib\cordova-lib cordova-cli\node_modules
>   (cd cordova-cli && npm install)
> To update all repositories:
>   .\cordova-coho\coho repo-update
> Checking if you are using master branch of tools
> refs/heads/master
> fatal: Not a git repository (or any of the parent directories): .git
> {code}
> Two problems:
> 1. The error message is not straightforward do not know what next to fix
> 2. The cordova-lib\cordova-lib\ does not exist at all, that is how the fatal reported.
> Workaound:
> 1. Append --skiplink will resolve
> 2. Or append --gloabl, but it will use npm registry version instead of local git, which
is not what we want.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message