App doesn't update

Aren't the aia name and the package name the same?

Aren't the aia name and the package name supposed to be the same?

Make sure before you upload your project that there is no copy already on the server with the name HRMHR otherwise the server will rename your project and with that it will be the new package name..

2 Likes

Thank you. Yes I deleted the previous project and then deleted it from trash

Somehow things became confused. I guess I would like to know how to get the package name back to the original name so the compiled version will update the original app

I was talking about your AI2 account (not your PC), when I said "let''s see screenshots".

Make sure there is no project with the same name in the trash (in your AI2 account). Otherwise, as @Boban said, another project with the same name will be renamed, since (as I said before) 2 projects with the same name cannot exist in your AI2 account at the same time.

Did you delete / change the keystore? If so, you need the original keystore to update your app.

See also here:

I do not know anything at all about keystore or play store or any store :rofl:

My concern is only being able to compile another time and have it update the previous

Screenshots? You wanting blocks? :thinking:

Do you have more than one AI2 account? Or did you import the new aia into a new account? If so, then you would now have a new (different) keystore.


... but definitely the name of the AIA project is different.

No I only have one account

No. Both aia have same name

Let me try to state this again, perhaps to make more clear.

I have 2 aia of the same name (HRMHR.aia) in separate folders on my computer: HRMHR\HRMHR.aia and HRMHR2\HRMHR.aia

The one in HRMHR folder was my first version (android 12) and I made improvements as well as upgraded for Android 13 resulting in the resultant HRMHR2\HRMHR. The resultant was originally HRMHR2c. I am satisfied with the result so I deleted all versions in the AI and deleted from the trash.
I then saved HRMHR2c as HRMHR and loaded it.

The result of this is that the new version has a different package name and will not update the original.

I still would like to know what causes the package name? Is it the aia name or is it something contained in the aia?

If the project name is "HRMHR", it is impossible for the packageName of the compiled app (APK) to be appinventor.ai_<email>.HRMHR_2.

It's actually a waste of time, but send me the new aia via PM (i.e. the aia that supposedly generates this package name appinventor.ai_<email>.HRMHR_2).

I am not a liar. Here is your screenshot
01172024@220829¦810

This produced the HRMHR_2 package

I have never and would never say that. Just that something is going wrong with your account / aia.

So again, send the aia to me via PM.

1 Like

Is what you showed in the picture in the folder? Maybe the problem is the folders. Was the original, old apk also in the folder?

1 Like

I don't see any folder at all.
And I checked it to build an APK from an AIA in a folder. No issue with the packageName.

No. The two aia and apk are in separate folders.

Post 13

when we are talking about folders, then we are talking about folders in App Inventor, not about folders on your computer

Taifun

1 Like