You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/01/04 18:31:39 UTC

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

    [ https://issues.apache.org/jira/browse/CB-10275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081415#comment-15081415 ] 

Joe Bowser commented on CB-10275:
---------------------------------

I have no idea which version of Cordova is used with ionic 2, so there's not a lot we have to go on with this issue.  This is the Cordova Issue tracker and not the Ionic one, and you may have better luck getting that information from the Ionic team.

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