Demo Firepower on Android

Comments

7 comments

  • Roy Woll

    Try deleting the old maindemo on your android device, and then running again.   Usually these types of errors are because of this.

    0
    Comment actions Permalink
  • Mark

    There is no previous install; it's the first attempt to install the Demo on device...

    0
    Comment actions Permalink
  • Roy Woll

    Check to see that secure file sharing is true

    0
    Comment actions Permalink
  • Mark

    No, the error stay the same.

    Seems that with version 31 and above, must be defined something in manifest when intent filters are present...

    0
    Comment actions Permalink
  • Roy Woll

    I am not able to reproduce your problem.

    Please provide the version of RAD Studio you are. using, i.e. 12.3 or 12.1, etc. Also please share the exact contents of your android.manifest file in case it needs to be updated to contain the exported identifier.

    You could try deleting it, and then it should create a new one when you build your project.

     

    0
    Comment actions Permalink
  • Mark

    Hi, rad studio 12.1

    <?xml version="1.0" encoding="utf-8"?>
    <!-- BEGIN_INCLUDE(manifest) -->
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.embarcadero.MainDemo"
        android:versionCode="1"
        android:versionName="1.0.0"
        android:installLocation="auto">
        <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="34" />
        <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_NETWORK_STATE" />
        <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
        <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.MODIFY_AUDIO_SETTINGS" />
        <uses-permission android:name="android.permission.NFC" />
        <uses-permission android:name="android.permission.READ_CALENDAR" />
        <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
        <uses-permission android:name="android.permission.READ_PHONE_STATE" />
        <uses-permission android:name="android.permission.VIBRATE" />
        <uses-permission android:name="android.permission.WRITE_CALENDAR" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" />

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

        </queries>
        <application
            android:persistent="False"
            android:restoreAnyVersion="False"
            android:label="MainDemo"
            android:debuggable="true"
            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.embarcadero.MainDemo.fileprovider"
                android:exported="false"
                android:grantUriPermissions="true">
                <meta-data
                    android:name="android.support.FILE_PROVIDER_PATHS"
                    android:resource="@xml/provider_paths" />
            </provider>

     


            <!-- 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="MainDemo"
                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="MainDemo" />

                <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) -->

    0
    Comment actions Permalink
  • Mark

    Ok, deleting any existing manifest and rebuild, solved the problem.

    Thank you

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk