DeprecationWarning: 'root' is deprecated, use 'global'


#1

Hi,

I’m building an android game. Below is the message I’m getting. Please help.

CORDOVA LOG:

e[36m[2018-04-15 09:04:50.860] [DEBUG] AndroidBuilder - e[39m[prepare] cordova restore platforms
e[36m[2018-04-15 09:04:50.876] [DEBUG] AndroidBuilder - e[39m[prepare] adding engine android@6.2.3
Subproject Path: CordovaLib
Subproject Path: CordovaLib
Subproject Path: CordovaLib
(node:2416) DeprecationWarning: ‘root’ is deprecated, use ‘global’
e[36m[2018-04-15 09:05:11.481] [DEBUG] AndroidBuilder - e[39mundefined


#2

Can anyone please help me on this?


#3

same problem here, Still can’t find a way to fix it


#4

This error comes if you do not delete the config.xml from Construct before zipping it.
Then it loads a custom configuration plugin into your project which causes this problem.

Best is to remove and re-add your project on cocoon.
Then export your game from c2 and only zip the content in the “www” folder.

Best,
Andy