Android Question B4A Designer can't install update.

Theera

Well-Known Member
Licensed User
Longtime User
I saw the original B4A Bridge v.2.65 in Google Play ,and then installed instead of my B4A Bridge Thai edition v.2.62. for comparing the both.
The next,I have restalled my B4A Bridge Thai again. But It has error message B4A Designer can't install update. Please help me to solve it. Thank you in advance.

P.S. I have created B4A Bridge Thai for studing coding and I would like to be a part of B4A developer (It's not impossible,I'm not good at coding) ,please undetstand me.
 

teddybear

Well-Known Member
Licensed User
How did you reinstall your B4a Bridge Thai ? before reinstalling 2.62, did you uninstall or remove the 2.65? what is the log?
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
The firstTime,I had installed the original v.2.62 and then installed Thai version 2.62 is smooth.
The next time,I have installed the original v.2.65 and then re-install back to Thai version 2.62
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Did you uninstall v2.65, and then redo like the first time? what is the error message?
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Did you uninstall v2.65, and then redo like the first time? what is the error message?
It's still not to update B4A designer.
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Can't you make the version 2.65 Thai?
It could be a problem of version code.
2.65 maybe have a superior version code and you need at least to match it to install.
And probably it would be even better to create your own version with a different Package name.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
I don't know the different between.v.2.62.and v.2.65. ThaiBridge code is adjusted from Aeric's code(Malaysia Expert)
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Can you check the VersionCode level in your project?
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
My VersionCode is 2.62.I'm sorry If I don't understand English.I have tried to learn it myself.
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
My VersionCode is 2.62
That is the VersionName.
Look at the beginning of Main
B4X:
#Region Module Attributes
    #FullScreen: False
    #IncludeTitle: True
    #ApplicationLabel: B4A-Bridge
    #VersionCode: 32    'Check this line in your project
    #VersionName: 2.65
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
That is the VersionName.
Look at the beginning of Main
B4X:
#Region Module Attributes
    #FullScreen: False
    #IncludeTitle: True
    #ApplicationLabel: B4A-Bridge
    #VersionCode: 32    'Check this line in your project
    #VersionName: 2.65
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region
I must check it tomorrow.The computer is my work site.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
That is the VersionName.
Look at the beginning of Main
B4X:
#Region Module Attributes
    #FullScreen: False
    #IncludeTitle: True
    #ApplicationLabel: B4A-Bridge
    #VersionCode: 32    'Check this line in your project
    #VersionName: 2.65
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region
Dear Sir,
My versioncode is 30 ,so then I will change it to be 32 as your example code. Please explain me that how versioncode is useful.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
After I changed it,it can be solved. Thank you very much for kind of you,Sagenut

Ps. มีใครเข้าใจภาษาไทยบ้างไหมครับ ผมอยากมีเพื่อน บางครั้งอธิบายเป็นภาษาอังกฤษไม่ได้
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
VersionCode, as you experienced, will avoid to downgrade your app with older versions.
It must be at least the same VersionCode to install over it.
 
Upvote 0
Top