Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Can't build android apk - Error: Cannot read property '1' of null

$
0
0

@rpereyra wrote:

Hi everyone,

I did install ionic and cordova via npm without errors, then I run these commmands:

ionic start test tabs --> without errors
cd test
ionic serve --> without errors, open a browser and app works great
q --> to quit ionic serve
ionic platform add android --> without errors
ionic build android --> and then, I found these errors:

add to body class: platform-android
ERROR building one of the platforms: TypeError: Cannot read property '1' of null
You may not have the required environment or OS to build this project
Error: Cannot read property '1' of null

I uninstall and re-install android sdk, ionic and cordova, and always the same error.

Any suggestion?

Regards,
Ricardo.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>