Page 1 of 1

upgrading from Libraries 1.1 to 1.2: "Error initialising Cordova: Class not found" in android app

Posted: Tue Mar 04, 2014 3:01 pm
by John5269257

Hi
I've just upgraded from External Libraries version 1.1 to 1.2

Android app builds ok, but now generates an alert:
[ERROR] Error initialising Cordova: Class not found
as the app loads.

Any pointers?
Thanks
John


upgrading from Libraries 1.1 to 1.2: "Error initialising Cordova: Class not found" in android app

Posted: Tue Mar 04, 2014 6:33 pm
by Maryna Brodina

Hello!

Did you change anything on Source tab? Could you clarify when did you get this error, after what steps?


upgrading from Libraries 1.1 to 1.2: "Error initialising Cordova: Class not found" in android app

Posted: Wed Mar 05, 2014 1:07 pm
by John5269257

Hi Maryna
I did have the phonegap video player installed, but I have removed it by removing its entry from config.xml and removing its folder from the plugins folder. I've undone all source changes. My source tree now looks like this:
Image

Any clues?
John


upgrading from Libraries 1.1 to 1.2: "Error initialising Cordova: Class not found" in android app

Posted: Wed Mar 05, 2014 7:46 pm
by Maryna Brodina

Hello! Please delete config.xml file and undo all source changes in ANDROID folder.


upgrading from Libraries 1.1 to 1.2: "Error initialising Cordova: Class not found" in android app

Posted: Thu Mar 06, 2014 11:33 am
by John5269257

Thank you, it's now working.