how can i fix this? please help me
ANDROID_HOME=C:\Users…\AppData\Local\Android\sdk1
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121
Error: Cannot read property ‘length’ of undefined
[ERROR] An error occurred while running cordova run android (exit code 1).
Please paste ionic info
output.
E:…>ionic info
[WARN] Error with .\www\lib\ionic\version.json file: FILE_NOT_FOUND, trying .\bower.json.
cli packages: (E:…\node_modules)
@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2
global packages:
Cordova CLI : 7.0.1
local packages:
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic1 1.3.1
System:
Android SDK Tools : 25.2.5
Node : v6.11.2
npm : 5.3.0
OS : Windows 10
how did you solve your problem?