Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

329
Views
Flutter/Android: Subiste un APK que tiene actividad [...] pero sin la propiedad 'android:exported'. exportado = "verdadero" no funciona

Después de cargar mi aplicación en Google Play Store para realizar pruebas internas, recibo el siguiente mensaje de error:

 You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the 'android:exported' property set. This file can't be installed on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported

Intenté configurar android:exported="true" en mi manifiesto de esta manera:

 <receiver android:name="com.ryanheise.audioservice.MediaButtonReceiver" android:exported="true" > <intent-filter> <action android:name="android.intent.action.MEDIA_BUTTON" /> </intent-filter> </receiver>

Pero sigo recibiendo el mismo error. En mis archivos build.gradle tengo estas configuraciones:

 compileSdkVersion 31 minSdkVersion 21 targetSdkVersion 31 buildscript { ext.kotlin_version = '1.6.10' repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:4.1.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.3.5' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.1' } }

Se siente como si hubiera intentado todo. ¿Podría ser un problema de la versión del SDK o qué podría estar perdiéndome aquí?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

¿Qué es el receptor exportado?

Android: exportado. Si el receptor de transmisión puede recibir mensajes de fuentes ajenas al sistema fuera de su aplicación: "verdadero" si puede, y "falso" si no.

Debe agregar el atributo exportado para cada una de las páginas de actividad en su archivo AndroidManifest.xml.

Ejemplo :

 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.nisaefendioglu.weather"> <uses-permission android:name="android.permission.INTERNET"></uses-permission> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:usesCleartextTraffic="true" android:supportsRtl="true" android:theme="@style/Theme.AppCompat"> <activity android:name="com.nisaefendioglu.weather.view.MainActivity" android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!