So in corona I cant do that???
Example: https://play.google.com/store/apps/details?id=com.feelingtouch.strikeforce
So in corona I cant do that???
Example: https://play.google.com/store/apps/details?id=com.feelingtouch.strikeforce
You’re not hearing what I’m saying.
“Not all is lost yet. I am trying to help you find a way around this. I am also encouraging anyone who has figured this out to share. Meanwhile, I am giving you an option if you feel like digging into ‘editing manifest’.”
Don’t give up so easily. This is going to take some time to resolve. Meanwhile, you’ll need to hang with it, bear with me, etc.
OK, so what should I do now?
I have checked and thise signs do not make problems: ! , @ , # , $ , % , ^ .
Do you have any idea why???
Yes, because ‘&’ is a special symbol that confuses the ADB loader. Corona staff probably realized this and simply replaced it with a legal symobol _.
Try this experiment.
Create an APK named ABC.apk
Rename it A&B.apk
Try uploading it to your device: adb install -r “A&B.apk”
Fails…
The only thing you can do is:
Wait and hope I or someone else eventually provides a solution.
Learn how to edit the manifest and modify it yourself based on the link provided yourself.
Tip: The first time, editing a manifest is painful. After that, you’ll be glad you have the trick in your toolkit.
OK…
If you have a solution tell me.
for now I think i call it **** and ****.
I’m going to see if I can remember the steps for editing the manifest. Then, if it isn’t too hard I’ll list them or help you with this.
I am sure that Sergey had a talk about this once on the Corona Geek Hangout, but its been a dang long time since I’ve done it, so we’ll see. Again, bear with me here.
Note that this does not actually change your app’s name. You can build an app with the name “A & B” and the package of “com.example.aandb”. Your APK will be called “A _ B” but your app on-device will be “A & B”.
Well, that is wonderful.
I just confirmed this. Thanks Michael!
Man did I waste time making an assumption. There is a lesson for you.
For my confirmation, I built an Android binary named “a & b”.
This produced “a _ b.apk”.
When installed it shows as "a & b ".
Perfect.
Just as an FYI, & is the character that tells the Unix/Linux shell to background the operation. So if you type in:
adb install -r A&B.apk it will background:
adb install -r A
and then you will have entered a second command:
B.apk
which returns invalid command. We will not permit shell metacharacters in filenames as it interferes with our build scripts. As Michael said, In the build dialog put your & and even though we rename the APK file to an operating system safe name, it will display right on the device.
Whan I want to bild an apk : file, bild for android, and then aplication name.
when I call it “a&b” it turns into "a_ b"and even when installed it shows as "a_b ".
Namely, What you describe is not happening to me. i still have the problem.
why?
Ps, I greatly appreciate your help
Above I built an app,using the steps you mentioned, but on the device it is named ‘a & b’.
Please tell us and try:
Corona Build you’re using. ex: I’m using 2015.2687 for this experiment.
Building from OS X or Windows.
Adb version you’re using to install (‘adb version’) and if you’re not using ADB, how are you getting the binary on your device.
Device you’re installing on.
Android version you’re installing on.
Please download the binary I supplied and install it. Then tell us, does it show ‘a _ b’ or “a & b” as the title.
This will help us narrow the field a bit Right now there are too many possible places for the error to be occuring. I may have more ideas later. For example, if you install the binary on your device and:
Please upgrade to 2015.2646 (our latest release build) or preferably 2015.2697 (our latest daily build).
How? Never done that
Yep. 2511 was a glaring red light for me. Let us know how it goes with a recent version of Corona.
Note to self: I should have asked that first.
Tip: If it is ever important in the future, you can check the adb version (if you have it installed) as follows:
adb version
CoronaSDK 2015.2697 (notes)
Should I dowloud all the 3 files?
2015.08.15
CoronaSDK-2015.2697.msi, CoronaSDK-2015.2697.dmg, CoronaApiDocs-2015.2697.zip
And what should I do after that?
.msi files are Windows-only.
.dmg files are Mac-only.
You probably don’t need our API docs for offline use.
OK, everithnk worked! i upgreded corona and it worked.
Thank you very much!
I have anothe problem. Maybe you could help me.
I cant use fonts on the simulator. Every font I downlod do not work, and I did exactly what said here: https://docs.coronalabs.com/daily/guide/system/customFont/index.html
and now when I upgraded corona it makes even more problems. before it just showd the Default font of my computer, and now it does not show nothing or does other problems. the only font that ever worked is “Eras Light Itc”.
why???
Just as an FYI, its important to ask new questions in a new thread. The title is about ampersands in file names and now we are talking about custom fonts. This is called “Hijacking a thread”. Normally other users do it to you, but in this case you changed the topic. I would highly recommend before answers come in you start a new thread with your font questions in it.
Thanks
Rob