I can't seem to be able to build my game as an .apk.
Neither as an Android Studio Project.
Whenever I export my project there is a build error happening, which is the following:
Error: Platform 'android' found in config.xml... Migrating it to package.json
Discovered platform "android". Adding it to the project
Using cordova-fetch for firstname.lastname@example.org
Adding android project...
Creating Cordova project for the Android platform:
Name: Arts & Treasures
Android target: android-30
Subproject Path: CordovaLib
Subproject Path: app
Android project created with email@example.com
Plugin 'cordova-plugin-splashscreen' found in config.xml... Migrating it to package.json
Discovered plugin "cordova-plugin-splashscreen". Adding it to the project
Installing "cordova-plugin-splashscreen" for android
(node:468064) [DEP0128] DeprecationWarning: Invalid 'main' field in '~~/package.json' of '~~/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
Invalid character in entity name
I don't get how I can solve that problem. It tells me there is an invalid character in an entity name. I don't have any special characters in the projects objects names, except maybe numerics. Aren't they usable?
Develop games in your browser. Powerful, performant & highly capable.
I found the issue: My project name contained an ampersand, this was an invalid character.