Skip to main content
Participant
March 27, 2014
Pergunta

Flash Android application identifier with underline

  • March 27, 2014
  • 2 respostas
  • 1123 Visualizações

I got this 'invalid application descriptor: invalid application identifier' when publish my old flash android fla.

My app id is like com.this_is_id.android.test

It keep happens when my id with underline '_', but this id was ok about a year ago.

Now I cant update my app at googleplay because this.

Please help,thanks.

*MBP OS X 10.9
*Flash CC & CS6
*AIR SDK 3.4 ~ 4.0

Este tópico foi fechado para respostas.

2 Respostas

Flash__Lover
Participating Frequently
August 23, 2014

     Canyou help me with my problem, i want to do a guitar app with a multitouch button but i don't know how because i'm a beginner in AS3.

i'm doing this for my project. Can you give me a sample code for multitouch button please.. Thank you very much!

Projectitis
Inspiring
March 27, 2014

Underscore is certainly an illegal character in the ID (in application.xml) according to the docs

Did you try using AIR 3.4 again to see if the rules changed since then?  Maybe it was allowed in a previous version of AIR, but not any more?

Are you sure it's not a dash?

Participant
March 27, 2014

Thanks for kindly reply.

according this
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffd.html

Android application IDs

if the ID is not a legal package name on the Android operating system, it is converted to a legal name. Hyphen characters are changed to underscores and leading digits in any ID component are preceded by a capital “A”. For example, the ID: 3-goats.1-boat, is transformed to the package name: air.A3_goats.A1_boat.

so I dont know why underscore is illegal,and my app at googleplay has an underscore ID indeed, not dash, I am sure.

this really bother me,cant update any app with an underscroe ID

because I have to update app to support android 4.x ...

ps. 3.4 even 3.2 also not working,@@ dont know how I did it before...

Projectitis
Inspiring
March 27, 2014

So from what I understand:

1) The error you get is while packaging your app

2) The ID you are using would be ok for Google Play (if it worked) because it accepts underscores

3) Google play will convert the ID from dash to underscore

So the solution seems to me to use: com.this-is-id.android.test

1) Packaging in AIR would be ok because the dash is accepted

2) Google Play would convert the dashes to underscores, and it would be ok on Google Play too