cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Esteban Lopez Jaramillo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10275) Ubuntu 15.10 error building for Android
Date Mon, 28 Dec 2015 19:22:49 GMT

     [ https://issues.apache.org/jira/browse/CB-10275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carlos Esteban Lopez Jaramillo updated CB-10275:
------------------------------------------------
    Description: 
I'm developing an app with ionic 2 and when i try to use `cordova build android` i get this
error:
{quote}Running command: /home/carlos/Carlos/Programming/OSGroup/TodoApp/hooks/after_prepare/010_add_platform_class.js
/home/carlos/Carlos/Programming/OSGroup/TodoApp
add to body class: platform-android
Running command: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build

[TypeError: Cannot read property '1' of null]
ERROR building one of the platforms: Error: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build:
Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build: Command
failed with exit code 2{quote}

Please note that it worked before and also tried with ionic 1 versions of the app.

  was:
I'm developing an app with ionic 2 and when i try to use `cordova build android` i get this
error:
{quote}Running command: /home/carlos/Carlos/Programming/OSGroup/TodoApp/hooks/after_prepare/010_add_platform_class.js
/home/carlos/Carlos/Programming/OSGroup/TodoApp
add to body class: platform-android
Running command: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build

[TypeError: Cannot read property '1' of null]
ERROR building one of the platforms: Error: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build:
Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build: Command
failed with exit code 2{quote}


> Ubuntu 15.10 error building for Android
> ---------------------------------------
>
>                 Key: CB-10275
>                 URL: https://issues.apache.org/jira/browse/CB-10275
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>         Environment: Ubuntu 15.10 Java 8 and 9 installed, needed apis for android installed.
>            Reporter: Carlos Esteban Lopez Jaramillo
>            Priority: Blocker
>
> I'm developing an app with ionic 2 and when i try to use `cordova build android` i get
this error:
> {quote}Running command: /home/carlos/Carlos/Programming/OSGroup/TodoApp/hooks/after_prepare/010_add_platform_class.js
/home/carlos/Carlos/Programming/OSGroup/TodoApp
> add to body class: platform-android
> Running command: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build

> [TypeError: Cannot read property '1' of null]
> ERROR building one of the platforms: Error: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build:
Command failed with exit code 2
> You may not have the required environment or OS to build this project
> Error: /home/carlos/Carlos/Programming/OSGroup/TodoApp/platforms/android/cordova/build:
Command failed with exit code 2{quote}
> Please note that it worked before and also tried with ionic 1 versions of the app.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message