Other B4A app updating problem

wdegler

Active Member
Licensed User
Is this where to post a B4A problem? If not, where?

I am trying to update an app which I have previously published and am meeting a number of obstacles. After updating associated information (now pending), I finally found how to upload the APK. However it was refused after apparently loading. A message said it was a "debug" file but no, it was sent just after successfully compiling it as a "release" file. The message also said that the certificate does not match that of the previous release??? I never had to deal with release certificates before and don't know how to assign one. Further, I no longer see a menu item in B4A for assigning a new version as I did before. Can someone let me know how to publish an update to a published app?
Help!
 

Cableguy

Expert
Licensed User
Also you need to increment the code version value or gplay will not accept it as an update
 

wdegler

Active Member
Licensed User
Thank you for your information about where to look! This answers some questions.
Some of my previous apps have .keystore files (automatically created) and others don't, such as the one I am trying to update. This may then be impossible now where it wasn't before when first written according to this information.
Setting the version is no longer a menu option. How do I do it now?
 

lemonisdead

Well-Known Member
Licensed User
Hello,
The VersionCode is set at the top of your Main Activity

B4X:
#Region  Project Attributes 
    #ApplicationLabel: B4A Example
    #VersionCode: 1
    #VersionName: 
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region
 

wdegler

Active Member
Licensed User
Hello,
The VersionCode is set at the top of your Main Activity

B4X:
#Region  Project Attributes
    #ApplicationLabel: B4A Example
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region
Got it. Thanks.
 
Top