3.4.0-0.1.3 [ERROR] Error initializing Cordova: Class not found

3,631 views
Skip to first unread message

Kaan Soral

unread,
Mar 6, 2014, 4:02:10 PM3/6/14
to phon...@googlegroups.com
Thrown as an initial alert, the app doesn't load on android
Have something changed? (I assume it's a temporary issue of this version)

Kaan Soral

unread,
Mar 6, 2014, 7:21:13 PM3/6/14
to phon...@googlegroups.com
I've tested 3.4.0-0.1.1/2 - the issue occurs on these versions too

I've updated the Android Tools/SDK before all these, either that update or an updated plugin started causing this issue, any idea how to approach the issue to solve it?

Kaan Soral

unread,
Mar 9, 2014, 12:25:45 AM3/9/14
to phon...@googlegroups.com
I've also researched possible causes and finally tested the app with phonegap build, it functioned properly

so there is something with the cordova route that's causing the issue

Kaan Soral

unread,
Mar 12, 2014, 3:21:09 AM3/12/14
to phon...@googlegroups.com
D/CordovaLog( 1398): file:///android_asset/www/plugins/org.apache.cordova.network-information/www/network.js: Line 85 : Error initializing Network Connection: Class not found

Any ideas?

Andreas Becker

unread,
Mar 26, 2014, 6:00:30 AM3/26/14
to phon...@googlegroups.com
Same problem like Kaan does: "Error initializing Network Connection: Class not found network.js:85"

Any news on this?

Kaan Soral

unread,
Mar 26, 2014, 3:21:47 PM3/26/14
to phon...@googlegroups.com
I remember a version of 3.4.0 working for me, that's why I initially didn't tested 3.3 - all of the 3.4 versions produced the same error

However reverting back to 3.3.1-0.4.2 solved my issue, I haven't tested 3.4.0-0.1.3 again, sometimes problems like these disappear as the plugins get updated without cordova version increasing

"npm install cor...@3.3.1-0.4.2 -g" is the command for anyone who is not too familiar with npm

vish...@applicationnexus.com

unread,
Apr 9, 2014, 8:35:10 AM4/9/14
to phon...@googlegroups.com
This problem is giving me a headache. I am not able to develop any Android application based on Cordova 3.4.

Gustavo Rago

unread,
Apr 18, 2014, 12:06:37 AM4/18/14
to phon...@googlegroups.com
I am having this issue only when using Facebook and Device plugins together. Uninstalling one of them the problem disappears. Both plugins work perfectly when only one of them is installed. Any help would be much appreciated

Steven Kinnear

unread,
Apr 19, 2014, 3:17:41 AM4/19/14
to phon...@googlegroups.com
If you have not yet found the solution for this then maybe this will help. I discovered that my calendar plugin was removing all plugins from the config.xml file after it was added. So add each plugin again but build ur app after each one and check ur config.xml is updating . Hopefully u will find one Like mine and then u know to install that one first

Rahul

unread,
Apr 21, 2014, 2:04:38 PM4/21/14
to phon...@googlegroups.com
I faced the same issue with Facebook current plugin for Android. It was removing all the plugins entry from the config.xml file present in res directory. I have to manually add all the plugins in that config.xml to remove the Cordova Class Not found error.

andy visser

unread,
Apr 30, 2014, 11:22:30 AM4/30/14
to phon...@googlegroups.com
The facebook plugin does indeed have a bug. The fix is already in a pull request here: https://github.com/phonegap/phonegap-facebook-plugin/pull/452

However, if you've already installed the plugin, see my comment here to fix it: https://github.com/phonegap/phonegap-facebook-plugin/pull/452#issuecomment-41808901

Mahesh Mahindrakar

unread,
Jun 13, 2014, 1:38:07 AM6/13/14
to phon...@googlegroups.com

You can resolve this when using phonegap command line by doing the following:

  1. Delete merges/android, platforms/android, plugins/android.json

  2. run phonegap local build android

Reply all
Reply to author
Forward
0 new messages