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



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


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


Can anyone please help me on this?


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


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.



This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.