Apostrophe in project title breaks Android apk (DEF-2436)

Problem: APK crashes on startup.
Cause: In the general Project settings I had a ’ (apostrophe) in the project title. The title was “Bitchin’ Stitchin’”. Removing the apostrophes fixed the problem.

Defold Version 1.2.96

1 Like

Thank you for reporting this! I’ve created a ticket to track this issue (DEF-2436).

There is a work around:

  1. Download bob.jar from http://d.defold.com
  2. Unzip bob.jar
  3. Copy AndroidManifest.xml from bob/com/dynamo/bob/bundle/resources/android to your project
  4. Set this as manifest under the Android section in game.project
  5. Edit AndroidManifest.xml and change from project.title to project.display_title for the <application> tag and the <activity> tag for com.dynamo.android.DefoldActivity
  6. Open game.project as a text file
  7. Add a new property called display_title under the [project] section
  8. Set display_title to include the name with an apostrophe and title to a string without any apostrophe or other special character
3 Likes