The app won't open after installing

After the installation in Play Store, there is only one button, uninstall.
resim

Or when I try to install the apk myself;

And in both cases there is no app (icon) in the phone.

It seems like you’re encountering an issue where your app is not showing up correctly on the device after installation from the Play Store or manual installation of the APK. There could be a few reasons for this behavior. Here are some troubleshooting steps you can take:

  1. Check Permissions: Make sure that your app has the necessary permissions declared in its manifest file. Insufficient permissions might prevent your app from displaying correctly.

  2. Check Target SDK Version: Ensure that your app’s target SDK version is compatible with the device you’re testing on. If the target SDK version is too high, it might not work properly on older devices.

  3. Check App Installation Location: Verify that the app is being installed on the device’s internal storage and not on an external SD card. Some devices might not display apps correctly if they are installed on the SD card.

  4. Restart Device: After installation, try restarting the device. Sometimes, apps might not immediately appear in the app drawer until after a device restart.

  5. Check for Errors: If you have access to logcat logs (via Android Studio or other tools), check for any errors or warnings related to your app’s installation.

  6. Check App Drawer and Widgets: Sometimes, the app might not have an icon in the app drawer but might be accessible through widgets. Check if you can add the app as a widget on your device’s home screen.

  7. App Visibility Setting: Ensure that your app’s visibility setting isn’t set to “hide” in the device’s app settings. This can sometimes hide the app icon from the app drawer.

  8. Check for Duplicate Package Names: If you’ve installed a test version of your app with the same package name, it might conflict with the production version. Uninstall all instances of the app and then install the production version.

  9. Clear Cache and Data: If you have previously installed test versions of your app, clear the cache and data for those versions before installing the production version.

  10. Update Play Store: If the issue is occurring specifically after installation from the Play Store, try updating the Play Store app on the device.

If none of these steps resolve the issue, it might be a good idea to test your app on different devices or emulators to see if the problem persists. Additionally, consider reaching out to the Play Store support or your app’s developer community for more specific assistance.