cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gurudatta m (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-12976) Error: Cannot read property 'length' of undefined
Date Sat, 01 Jul 2017 21:18:00 GMT
gurudatta m created CB-12976:
--------------------------------

             Summary: Error: Cannot read property 'length' of undefined
                 Key: CB-12976
                 URL: https://issues.apache.org/jira/browse/CB-12976
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 7.0.1
         Environment: Windows, android
            Reporter: gurudatta m
            Priority: Blocker


Getting below error when doing a cordova build.

Error: Cannot read property 'length' of undefined

Details:
Environment: cordova version 7.0.1
java version: jdk1.8.0_60
npm version: 3.10.10
node version: v6.11.0

Build output:
No scripts found for hook "before_build".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been added to the project
Config.xml and package.json platforms are the same. No pkg.json modification.
Package.json and config.xml platforms are different. Updating config.xml with most current
list of platforms.
PlatformApi successfully found for platform android
Checking config.xml for saved plugins that haven't been added to the project
Checking for any plugins added to the project that have not been installed in android platform
No differences found between plugins added to project and installed in android platform. Continuing...
Generating platform-specific config.xml from defaults for android at C:\Users\username\Documents\mobileapp\MyApp\ionicapp\platforms\android\res\xml\config.xml
Merging project's config.xml into platform-specific android config.xml
Merging and updating files from [www, platforms\android\platform_www] to platforms\android\assets\www
Wrote out android application name "MyApp" to C:\Users\username\Documents\mobileapp\MyApp\ionicapp\platforms\android\res\values\strings.xml
android-versionCode not found in config.xml. Generating a code based on version in config.xml
(0.0.1): 1
Wrote out Android package name "io.ionic.starter" to C:\Users\username\Documents\mobileapp\MyApp\ionicapp\platforms\android\src\io\ionic\starter\MainActivity.java
Updating icons at platforms\android\res
Updating splash screens at platforms\android\res
This app does not have additional resource files defined
Prepared android project successfully
No scripts found for hook "after_prepare".
No scripts found for hook "before_compile".
ANDROID_HOME=C:\Users\username\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60
Error: Cannot read property 'length' of undefined



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message