Home > Blockchain >  React Native android: change app's target API level to at least 31
React Native android: change app's target API level to at least 31

Time:11-15

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:installDebug'.

java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl377948902.tmp/base.apk (at Binary XML file line #145): com.onesignal.GcmBroadcastReceiver: Targeting S (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present

CodePudding user response:

The specific module (in this case must be onesignal)
must be outdated and needs to be updated using:
yarn add Merged Manifests

  • Related