Jump to content
Abraão

Erro PlayStore aab

Recommended Posts

Tenho um app que quando baixo na playstory  ele instala, mais não aparece o ícone na área de trabalho do celular e não aparece o botão "abrir" na play store.  Só aparece o botão "desinstalar".  Se você for em “Configurações\Aplicativos”, ele está lá, tem o tamanho do pacote,  mais não aparece a opção abrir.

Quando faço a instalação pelo APK no computador tudo fica certinho. Mais se mando pra loja como aab fica com este problema

 

I have an app that when I download it from PlayStory, it installs, but the icon does not appear on the desktop of the cell phone and the "Open" button does not appear in the Play Store. Only the "uninstall" button appears. If you go to “Settings\Applications”, it is there, it has the size of the package, but the open option does not appear.

When I install the APK on the computer everything is right. But if I send it to the store, how does aab get this problem?

 

Arquivo tipo: AAB
Delphi: 11.0 Version 28.0.42600.6491
SDK: Adndroid SDK 26.1.1 64-Bit
Nome na loja MixPDV

 

ErrorPlayStory.png

Share this post


Link to post
4 minutes ago, Abraão said:

it installs, but the icon does not appear on the desktop of the cell phone and the "Open" button does not appear in the Play Store

Did you set the option to generate 32-bit and 64-bit binaries in the Project Options?

 

image.thumb.png.3f813823b9d2b47082127ea3308d02ab.png

Share this post


Link to post

Arquivo Manifest.xml

 

<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.ARLima.MixPDV"
    android:versionCode="234"
    android:versionName="2023.4"
    android:installLocation="auto">
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="31" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
    <uses-permission android:name="android.permission.BROADCAST_STICKY" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <uses-feature android:glEsVersion="0x00020000" android:required="true"/>

    <queries>
        <package android:name="com.google.android.apps.maps" />

    </queries>
    <application
    android:allowBackup = "false"
        android:usesCleartextTraffic="true"
        android:persistent="False"
        android:restoreAnyVersion="False"
        android:label="MixPDV"
        android:largeHeap="False"
        android:icon="@drawable/ic_launcher"
        android:theme="@style/AppTheme"
        android:hardwareAccelerated="true"
        android:resizeableActivity="false"
        android:requestLegacyExternalStorage="true">
        <provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="com.ARLima.MixPDV.fileprovider"
            android:exported="true"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/provider_paths" />
        </provider>

        <uses-library android:name="org.apache.http.legacy" android:required="false" />


<service android:name="com.example.app.backgroundService"
         android:exported="false">
</service>
        <!-- Our activity is a subclass of the built-in NativeActivity framework class.
             This will take care of integrating with our NDK code. -->
        <activity
            android:name="com.embarcadero.firemonkey.FMXNativeActivity"
            android:label="MixPDV"
        android:exported = "true"
            android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
            android:launchMode="singleTask">
            <!-- Tell NativeActivity the name of our .so -->
            <meta-data android:name="android.app.lib_name" android:value="MixPDV" />

        </activity>

        <receiver android:name="com.embarcadero.rtl.notifications.NotificationAlarm" />

    </application>
</manifest>
<!-- END_INCLUDE(manifest) -->

 

Edited by Abraão

Share this post


Link to post

Your intent-filter node is missing from the manifest. The activity node should look like this:

        <activity
            android:name="com.embarcadero.firemonkey.FMXNativeActivity"
            android:label="MixPDV"
            android:exported = "true"
            android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
            android:launchMode="singleTask">
            <!-- Tell NativeActivity the name of our .so -->
            <meta-data android:name="android.app.lib_name" android:value="MixPDV" />
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

 

  • Thanks 1

Share this post


Link to post

I do not know, if this is an individual api key and requires protection, but maybe remove your google api key from your post above.

  • Like 1

Share this post


Link to post

Dave Nottage - Thanks! that's exactly what you said...   Here in Brazil we have an expression of strength and gratitude that says: “Você é o Cara!” But I don't know how it is in English so I won't even translate... Thanks again friend! 👍👍

10 hours ago, Dave Nottage said:

Your intent-filter node is missing from the manifest. The activity node should look like this:


        <activity
            android:name="com.embarcadero.firemonkey.FMXNativeActivity"
            android:label="MixPDV"
            android:exported = "true"
            android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
            android:launchMode="singleTask">
            <!-- Tell NativeActivity the name of our .so -->
            <meta-data android:name="android.app.lib_name" android:value="MixPDV" />
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

 

 

 

Perpeto - Thanks for the tip, it was my lack of attention...

5 hours ago, Perpeto said:

I do not know, if this is an individual api key and requires protection, but maybe remove your google api key from your post above.

 

  • Thanks 1

Share this post


Link to post
7 hours ago, Abraão said:

“Você é o Cara!” But I don't know how it is in English

Google Translate says it is: "You are the man!"... I'll take that, thanks! 🙂

 

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×