cupboy 0 Posted October 27 (edited) Anyone know what this means and how to fix it? This version of Delphi works fine on my other computer. --------------------------- Error --------------------------- Unable to create process: Serving... All files should be loaded. Notifying the device. adb: failed to install F:\DelphiProjects\EOS\Android64\Debug\eos2024\bin\eos2024.apk: Failure [INSTALL_PAPerforming Incremental Install Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl584433341.tmp/base.apk (at Binary XML file line #47): com.embarcadero.firemonkey.FMXNativeActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are presePerforming Streamed Install RSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl628740358.tmp/base.apk (at Binary XML file line #47): com.embarcadero.firemonkey.FMXNativeActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present] --------------------------- OK --------------------------- Edited October 27 by cupboy Share this post Link to post
Riku23 0 Posted October 27 Delete your old android manifest file from the project and also if you have it installed on your device uninstall it first. Share this post Link to post
DelphiUdIT 176 Posted October 27 (edited) This is a example of Manifest of one my Android project, you can edit and adding it (it's indicating with <----- HERE') to your AndroidManifest.XML under Android64 of your project folder: <?xml version="1.0" encoding="utf-8"?> <!-- BEGIN_INCLUDE(manifest) --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="xxxxxxxxxxxxxxxxxxx" android:versionCode="1" android:versionName="1.0.0" android:installLocation="auto"> <!-- This is the platform API where NativeActivity was introduced. --> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="34" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.READ_CALL_LOG" /> <uses-permission android:name="android.permission.READ_SMS" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-feature android:glEsVersion="0x00020000" android:required="True"/> <application android:persistent="False" android:restoreAnyVersion="False" android:label="xxxxxxxxxxxxxxx" android:debuggable="true" android:largeHeap="false" android:icon="@drawable/ic_launcher" android:theme="@style/AppTheme" android:hardwareAccelerated="true"> <!-- 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="xxxxxxxxxxxl" android:configChanges="orientation|keyboard|keyboardHidden|screenSize" android:launchMode="singleTask" android:exported="true"> <-----------------------------------------------------HERE <!-- Tell NativeActivity the name of our .so --> <meta-data android:name="android.app.lib_name" android:value="xxxxxxxxxxxxxx" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <receiver android:name="com.embarcadero.rtl.notifications.NotificationAlarm" /> </application> </manifest> <!-- END_INCLUDE(manifest) --> Edited October 27 by DelphiUdIT Share this post Link to post
cupboy 0 Posted October 27 13 hours ago, Riku23 said: Delete your old android manifest file from the project and also if you have it installed on your device uninstall it first. That did it. Thanks! Share this post Link to post