Android Question B4ABRIDGE : Package seems corrupted SOLVED !!!

DOM85

Active Member
Licensed User
Longtime User
Hello,
After compiling my app in B4A V12.80, when B4bridge V2.67 try to install it on an Android 11, the message "Package seems corrupted" is displayed, and "app not installed".
I have accepted to analyze the package, and the answer was "The app seems sure".

I tried with 3 smartphones on Android 7, and 1 tablet on Android 8, with B4bridge V2.62 and then with B4bridge V2.67, same result "Package seems corrupted", and "app not installed".

I tried to compile with old B4A 5.80 on all these previous smartphones and one tablet, same result.

I tried with others app, same result.

Only one smartphone accepts to install my apps, a old one under Android 7 !

Has anyone seen this problem ?

Thank you for your help.

****** NOTE ADDED
****** 1 - On any smartphones, if i uninstall B4Designer, then B4Designer accepts to be installed without "Package corrupted" message !
****** 2 - I have just tried on a new smartphone where no B4X app was never installed and where B4Abridge has to be
installed, on Android 13. Same problem.
 
Last edited:

Brian Dean

Well-Known Member
Licensed User
Longtime User
What makes you think that the package is not corrupted? How have you been testing it up to now? Have you installed apps before on these devices using B4A Bridge? What is the package name? Are you sure that you have not used the same name before?
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Try Connecting to the phones in USB debugging mode and then install it. or copy the apk to the phoones. see if it can be installed
 
Upvote 0

DOM85

Active Member
Licensed User
Longtime User
What makes you think that the package is not corrupted? How have you been testing it up to now? Have you installed apps before on these devices using B4A Bridge? What is the package name? Are you sure that you have not used the same name before?
Thank you for your reply.
As you can read in my post, all my answers to your questions are already done.
1 - "How have you been testing it up to now ?"
My app runs fine on my main smartphone.
2 - "Have you installed apps before on these devices using B4A Bridge?"
Yes i did many times for many apps with the same B4ABridge app.
3 - "What is the package name?"
Very own name and mainly not "B4AExample" !:)
My problem is serious.
4 - "Are you sure that you have not used the same name before?"
It's evident no. And you can read that i tried even on a new one smartphone on which B4ABridge was never previously installed.

Thank you anyway.
 
Upvote 0

DOM85

Active Member
Licensed User
Longtime User
Try Connecting to the phones in USB debugging mode and then install it. or copy the apk to the phoones. see if it can be installed
Thank you for your reply.
Yes i tried to transfer the apk file of my app, and then to install it on all the smartphones listed.
In this case, when i run the apk install i obtain the message "No virus found", and then "App not installed" !

I tried even this kind of install on a new one smartphone on which i never have installed previously any B4X app.
With the same result.

As i describe in my post, i tried also to compile with an older B4A 5.80 on a different computer, with the same results !!

In summary, at this time i can only install my app on my main smartphone, but not on any other !
 
Upvote 0

DOM85

Active Member
Licensed User
Longtime User
SORRY !!!
It was a stupid problem, made by my self :
In "Project attributes" i have put this statement : "#CanInstallToExternalStorage: false", and apk install does not display any error message if the device do not have a SDCard !!!

Thank you very much to Teddybear and to Brian Dean for your nice attention and for having tried to help me 🙏!
 
Upvote 0
Top