cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Esteban Lopez Jaramillo (JIRA)" <>
Subject [jira] [Commented] (CB-10275) Ubuntu 15.10 error building for Android
Date Mon, 04 Jan 2016 17:56:39 GMT


Carlos Esteban Lopez Jaramillo commented on CB-10275:

They actually said it was probably an issue related to the cordova cli and not the ionic team,
anyhow, i managed to fix it, had to uninstall all, Java, android and cordova and reinstall,
set env variables and all that, now it's working again.

> Ubuntu 15.10 error building for Android
> ---------------------------------------
>                 Key: CB-10275
>                 URL:
>             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
> 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

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

View raw message