Help Unable to install apk on other device

tcgoh

Active Member
Licensed User
Longtime User
Hi,

I have completed my SQL project with 3 activities and also a DButils module. A sql database file(of about 2mb) is also attached. I am able to install the apk on my asus prime, but when I distribute the apk to other (galaxy s2) they got this msg:

"The application package installer(process com.android.packageinstaller) has stop unexpectedly. Please try again"

Other project generated from my B4a like myfrist.apk are able to install on other device.

:sign0163: PLEASE :BangHead:
 

tcgoh

Active Member
Licensed User
Longtime User
Hi Penko and Erel,


I am attaching the data file in Tab and also in the Files dir. Also using this code

Dim DBFileDir As String BFileDir=File.DirRootExternal


Erel, the problem is not with my device and when developing in B4a using B4a bridge. Its when the apk is given to others for installation, they don't have filtered log on any Android device do they?


Thanks
 
Upvote 0

tcgoh

Active Member
Licensed User
Longtime User
I haven't read your first post correctly. Now I see that it is the Android installer that crashes.

The first thing to try is to reboot the device and install your application again.

When you said reboot , do you mean
1. Power off your android or
2. Hard reset or
3. Soft reset
4. With reboot software

Tks

If
 
Upvote 0

tcgoh

Active Member
Licensed User
Longtime User
Hi Erel,

The reboot doesn't work. I have attached to simple SQL APP and one of them fail to install on GalaxyS2.

PJSQLsample.zip , fail to install in S2 but ok on Prime and Galaxy Note.
SQLsample.zip , install successfully on all device.

The only diff is changing the data base ext to .jpg. However, when I change the PJSQLsample database to .db it also fail to install.

What can I do, as S2 in a very popular phone for most users!
 

Attachments

  • SQLExample.zip
    14.4 KB · Views: 186
Upvote 0

tcgoh

Active Member
Licensed User
Longtime User
There is a known issue in Android with large files that are included in the APK file. However this is a different issue here.

Can you upload the APK that fails during installation? Maybe someone else with S2 can test it.

Attached is the apk of only 350kb and data file of only 9kb that fail to install on all GalaxyS2 but ok on other device.

Any S2 owner please help, or anyone knows what happen?:sign0163:
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…