Jump to content
rebotea

Android with Delphi 10.4.2 Sydney SDK API 32 /versions/12

Recommended Posts

 

 

Hi i have i issue like many people i think wit Delphi Sydney- Android compilation for 32

i have try the solution below but i have a error when load to Google.

Is there another workaround? Thanks

First all i use:

and i change from

 <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="32" />

 

   android:exported="true"

and i get a error when i load file to https://play.google.com

 

developer.android.com/about/versions/12/behavior-changes-12#exported

Share this post


Link to post
3 hours ago, rebotea said:

i have a error when load to Google

It'd be way easier to diagnose what the problem is if you quoted the exact error message

Share this post


Link to post
17 hours ago, Dave Nottage said:

It'd be way easier to diagnose what the problem is if you quoted the exact error message

my AndroidManifest.xml

        <provider
            android:name="android.support.v4.content.FileProvider"
            android:authorities="com.embarcadero.ot.fileprovider"
            android:exported="true"
            android:grantUriPermissions="true">
            <meta-data

error

Uploaded an APK or Android App Bundle that has an activity, activity alias, service, or streaming receiver with an intent filter, but no "android:exported" property set. Cannot install this file on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported

 

Share this post


Link to post
54 minutes ago, rebotea said:

my AndroidManifest.xml

That's not your complete manifest, however given the error message, you need to add

android:exported="true"

To the activity, e.g.:

        <activity
            android:name="com.embarcadero.firemonkey.FMXNativeActivity"
            android:exported="true"

etc

  • Like 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

×