You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Esteban Lopez Jaramillo (JIRA)" <ji...@apache.org> on 2015/12/28 20:22:49 UTC

[jira] [Updated] (CB-10275) Ubuntu 15.10 error building for Android

     [ 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 with no luck.

  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}

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


> 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 with no luck.



--
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