This is a migrated thread and some comments may be shown as answers.

console error after update

8 Answers 116 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steve
Top achievements
Rank 1
Steve asked on 31 Oct 2013, 03:59 PM
After updating Graphite today the simulator now produces this message in the console on load.

Uncaught module org.apache.cordova.device.device already defined  cordova.js: 271

8 Answers, 1 is accepted

Sort by
0
Kjell
Top achievements
Rank 1
answered on 31 Oct 2013, 06:38 PM
Came here to post this... I'm getting the same thing.
0
Graden Kirksey
Top achievements
Rank 2
answered on 31 Oct 2013, 06:57 PM
Same thing happening to me.
0
Grzegorz
Top achievements
Rank 1
answered on 31 Oct 2013, 11:10 PM
thi same thing.
0
Mike
Top achievements
Rank 1
answered on 01 Nov 2013, 02:26 AM
Me too. Be keen to hear from telerik....
0
Accepted
Kristina
Telerik team
answered on 01 Nov 2013, 08:00 AM
Hello guys,

 

We are sorry for any inconvenience this may have caused you. The org.apache.cordova.device is a Cordova 3.0 Core Plugin that is responsible for the device object that describes the device`s hardware and software. We have duplicated it in our Simulator bootstrapping logic and this causes the exception that you observe.

As a workaround you should:

  1.  Go and open your Project Properties.
  2.  Select the Plugins tab
  3.  Navigate to the Core Plugins section
  4.  Disable the Device plugin
  5.  Enable the Device plugin if necessary

You can read more information about the Core plugins here.

Best Regards,
Kristina
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
John
Top achievements
Rank 2
Iron
answered on 01 Nov 2013, 11:16 PM
I was getting the same error as the above users posted, so I followed your workaround steps, and now receive another error that was not being thrown before the update. 

The exception is:
Uncaught ReferenceError: device is not defined

This occurs directly after following your workaround steps.

****EDITED: Sorry, for some reason after re-enabling the Device plugin, the setting did not take. Went back to properties and re-enabled the Device plugin and it worked like normal. 
0
NEXT ID
Top achievements
Rank 2
answered on 09 Nov 2013, 12:23 AM
Hi!

After disable the Device Plugin, i can´t save! There´s an error with my "Application Identifier", a error that I had not before. I can not change my application identifier because the google store will not accept the publication of the application with a diferent identifier. Can you help me?
0
Steve
Telerik team
answered on 11 Nov 2013, 12:42 PM
Hello Andre,

Explanation about why we had to impose a change to the App ID requirements can be found in this forum post.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
Report a bug
Asked by
Steve
Top achievements
Rank 1
Answers by
Kjell
Top achievements
Rank 1
Graden Kirksey
Top achievements
Rank 2
Grzegorz
Top achievements
Rank 1
Mike
Top achievements
Rank 1
Kristina
Telerik team
John
Top achievements
Rank 2
Iron
NEXT ID
Top achievements
Rank 2
Steve
Telerik team
Share this question
or