[
https://issues.apache.org/jira/browse/CB-10275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carlos Esteban Lopez Jaramillo closed CB-10275.
-----------------------------------------------
> 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: [email protected]
For additional commands, e-mail: [email protected]