Android Question Failed to Install APK

incendio

Well-Known Member
Licensed User
Longtime User
Hi guys,

I have a user with Android 11 that failed to install my app.

App is not from Play Store, when tried to install in his phone, got error :

App not installed

My app never installed in that phone before, this is the new phone. On others phones, my app installed without any problems.

This is the manifest editor
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
AddManifestText(<uses-feature android:name="android.hardware.telephony" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera.flash" android:required="false" />)
AddPermission("android.permission.CAMERA")
AddPermission("android.permission.FLASHLIGHT")  
AddPermission(android.permission.USE_FINGERPRINT)  
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@style/br")
SetActivityAttribute(InpRcvGd, android:windowSoftInputMode, adjustPan|stateHidden)
SetActivityAttribute(InpSls, android:windowSoftInputMode, adjustPan|stateHidden)
SetApplicationAttribute(android:usesCleartextTraffic, "true")

AddApplicationText(
  <provider
  android:name="android.support.v4.content.FileProvider"
  android:authorities="$PACKAGE$.provider"
  android:exported="false"
  android:grantUriPermissions="true">
  <meta-data
  android:name="android.support.FILE_PROVIDER_PATHS"
  android:resource="@xml/provider_paths"/>
  </provider>
)
CreateResource(xml, provider_paths,
   <files-path name="name" path="shared" />
)

AddPermission(android.permission.REQUEST_INSTALL_PACKAGES)

AddManifestText(<uses-permission
    android:name="android.permission.WRITE_EXTERNAL_STORAGE"
    android:maxSdkVersion="18" />
)

Any ideas what is the cause ?
 
Last edited:

incendio

Well-Known Member
Licensed User
Longtime User
Can you provide what phone model and Android version?
I remember a member has facing issue installing to phone with Android Go which is lack of memory.
Android version 11, he said phone is Realme j11, but I checked, there is no type of this phone, already ask user, still no response.

User is a novice, so it kind a bit of problem.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Upvote 0

incendio

Well-Known Member
Licensed User
Longtime User
Just go the specs from users.

See attachment.

It is Android Go. So there is nothing can do?
 

Attachments

  • img.jpg
    img.jpg
    46.2 KB · Views: 77
Upvote 0

aeric

Expert
Licensed User
Longtime User
Just go the specs from users.

See attachment.

It is Android Go. So there is nothing can do?
I can't give accurate advice since I don't have experience with Android Go Edition.

Unless you can get same phone model and take time to test with patient,
Android Go edition is very limited and many full Google services are blocked. You can try to remove some features such as fingerprint or Starter to see any difference. Otherwise don't waste time and tell the user his phone is not compatible with your app.
 
Upvote 0

incendio

Well-Known Member
Licensed User
Longtime User
I can't give accurate advice since I don't have experience with Android Go Edition.

Unless you can get same phone model and take time to test with patient,
Android Go edition is very limited and many full Google services are blocked. You can try to remove some features such as fingerprint or Starter to see any difference. Otherwise don't waste time and tell the user his phone is not compatible with your app.
Will try suggestion from post #25, if this fails, will tell user to change his phone.

Lot of users in that company don't have a problem with my app, won't change app only to accommodate 1 user.
 
Upvote 0
Top