Android Question Problems opening my app

roberf8

New Member
Licensed User
Longtime User
Hello!

I have an app that was working correctly until I made changes to the manifest regarding the minimum and maximum Android versions, and it has stopped working correctly on some devices.

Now, when I install the APK and tap "open," it tells me the application is not installed (1). However, if I press and hold on it and tap "app info" (2), and the screen opens, tapping "open" (3) does launch it. Attach images.

Has this happened to anyone else and can help me?

Thanks!!
 

Attachments

  • 1.gif
    1.gif
    262.5 KB · Views: 25
  • 2.gif
    2.gif
    256.4 KB · Views: 25
  • 3.png
    3.png
    136 KB · Views: 25

roberf8

New Member
Licensed User
Longtime User
Manifest:

'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="35"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)

'Set attributes for Main activity
SetActivityAttribute(Main, android:exported, "false")

AddPermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission(android.permission.BLUETOOTH_SCAN)
AddPermission(android.permission.BLUETOOTH_CONNECT)

SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'CreateResourceFromFile(Macro, Themes.DarkTheme)
'End of default text.
'Theme
AddManifestText(<uses-feature android:name="android.hardware.location.gps"/>)

I try in some devices, the OS 7.1.1 and 12.
 
Upvote 0
Top