Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > FireMonkey
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo Hace 5 Días
lgarcia lgarcia is offline
Miembro
 
Registrado: jul 2004
Posts: 514
Poder: 23
lgarcia Va por buen camino
Generar mi APK en mi movil

Hola, llevo ya un tiempo desarrollando una APK en Delphi 13 usando FireMonkey, Sqlite y FireDac, la cual en el entorno de Windows funciona perfectamente, logro que mi PC reconozca el dispositivo cuando escojo Android 32-bit pero cuando trato de generar la aplicación me tira el siguiente error en la ventana de mensajes:

Cita:
[PAClient Error] Error: E8712 android:exported needs to be explicitly specified for element <activity#com.embarcadero.firemonkey.FMXNativeActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported`when the corresponding component has an intent filter defined. See https://developer.android.com/guide/...ement#exported for details.
Anteriormente probé con 2 ejemplos y me creo la aplicación sin problemas en el teléfono y corrieron perfectamente.

Saludos
Luis
Responder Con Cita
  #2  
Antiguo Hace 4 Días
emailx45 emailx45 is offline
Miembro
 
Registrado: abr 2025
Posts: 21
Poder: 0
emailx45 Va por buen camino
Thumbs up

Código:
        <!--
             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:configChanges="orientation|keyboard|keyboardHidden|screenSize|screenLayout|uiMode"

            android:exported="true"      <-----------  AndroidManifest.template.xml

            android:label="%activityLabel%"
            android:launchMode="singleTask" >

            <!-- Tell NativeActivity the name of our .so -->
            <meta-data
                android:name="android.app.lib_name"
                android:value="%libNameValue%" />

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

...
Responder Con Cita
  #3  
Antiguo Hace 3 Días
lgarcia lgarcia is offline
Miembro
 
Registrado: jul 2004
Posts: 514
Poder: 23
lgarcia Va por buen camino
Generar mi APK en mi movil

Compile el proyecto con Delphi 12.2 y se le quito el error anterior y ahora me esta tirando el error E7688 y una ventana con las siguientes posible causas:

Cita:
Troubleshooting: Cannot Deploy an Application for Android
To resolve this problem, look at these areas:
• Check the Build tab of the Messages view for any of the following errors:
o [Error Error] Required local file "Android\<build configuration>\lib<project name>.so" not found. Deployment failed.
You must build your project before you deploy it.
o [Error Error] Missing provisioning information for the "Application Store" platform configuration, the file '<APK path>' has been sucessfully generated but it has not been signed and it is a non-instalable package.
It means that RAD Studio successfully deployed your application, but you did not provide the required provisioning information to sign it. You need to provide the required provisioning information in order to run your application from RAD Studio using the Application Store platform configuration (as opposed to Debug, which does not require this information).
Alternatively, you can sign your unsigned APK file manually.
o [Exec Error] The command "<command line>" exited with code <integer other than 0>.
You must ensure that the Android SDK that you have assigned to the Android target platform in your project is configured with the right KeyTool location path. You can review and edit your Android SDK properties from the SDK Manager.
• If you get a PAClient error, look up your error in the Platform Assistant Server Errors Index.
Saludos
Luis
Responder Con Cita
Respuesta


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
movil Imprecion edpolanco Impresión 5 25-11-2023 16:26:05
Comenzar con desarrollo movil Ezecool Desarrollo en Delphi para Android 7 02-09-2019 20:14:52
Datasnap aplicación Movil wilsonzart Desarrollo en Delphi para Android 1 29-11-2018 17:13:35
base de datos movil vroa74 Conexión con bases de datos 3 23-11-2010 23:48:45
Conectar Con El Movil ZayDun Varios 5 06-07-2007 00:24:38


La franja horaria es GMT +2. Ahora son las 18:52:00.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi