Punctuation in App Title during build gets replaced with underscore in both filename and app name

You don’t.  Corona isn’t interested in fixing it apparently.

From what was mentioned on another thread about this, if you build your APKs on an OS X machine, it will be fine since they don’t mess with the App Title on a Mac. They only do it on Windows.

We “cannot” have file names with Unix shell meta characters in them.  That ’ opens a string and it never gets closed. This causes a problem. So you can have a broken build or we fix the file name.

This shouldn’t be an issue when installing the app. It should use the name you provided. I suspect this may be an artifact of sideloading your app. Can you try uploading the APK to Google as an Alpha build and then download it from Google Play and see if it installs correctly?

Thanks for the tip thegdog, I’ll try building an Android APK on my Mac.

And thanks for the info, Rob.  I’ve put my app on the Amazon app store and when I download it from there I get a name of Dad_s Prayers rather than Dad’s Prayers.  That’s what kicked off my post.  I’ll have to try Google Play.

Also another idea, why not simply rename the APK after we are done with it?

Rob

Rob, again, (and I think I speak for @berrygp here), it is not the APK name that is important or the real issue here. It is that it changes the name of the App Title itself which means that on a user’s device, the title of the app under the icon is changed and that is awful.

I was going to suggest someone file a bug report on this, but I just did a test. I created an app named “Rob’s App”.  I’m including a screen shot of my Build dialog so you can see how it’s name. I created the app as a default project and made no changes to build.settings and there is nothing in the build.settings that would effect name.

I built it. It output Rob_s App.apk. I installed it via “adb install -r Rob_s\ App.apk” (the \ escaped the space). On my Google Nexus 7 running Android 5.1 I see:  “Rob’s App” as the name on the device.

I’m using the latest daily build (2702).

For those having this problem, what version of Corona SDK are you using?

Are you on Windows or OS-X?

What version of Android are you trying to install to?

How are you trying to install?

Rob, thanks for your testing.

I began collecting the parameters you asked for and noticed I was on build 2511.  I downloaded build 2702 and installed my app again and this time the app name displayed correctly on the device.

I should have noticed I was on an older build quicker.  Thanks for working with me on this.