Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Update leakcanary version to 2.7 or above be able to targe Android 12 #22559

Closed
Amejia481 opened this issue Nov 23, 2021 · 1 comment
Closed
Assignees
Labels
Android:12 Issues specific to Android 12 - API 31 needs:triage Issue needs triage

Comments

@Amejia481
Copy link
Contributor

Amejia481 commented Nov 23, 2021

Related square/leakcanary#2076 and #22539

/app/build/outputs/apk/debug/app-arm64-v8a-debug.apk
com.android.ddmlib.InstallException: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl1056481257.tmp/base.apk (at Binary XML file line #978): leakcanary.internal.activity.LeakLauncherActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present
        at com.android.ddmlib.internal.DeviceImpl.installRemotePackage(DeviceImpl.java:1310)
        at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1136)
        at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1112)
        at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1101)
        at com.android.build.gradle.internal.testing.ConnectedDevice.installPackage(ConnectedDevice.java:127)
        at com.android.build.gradle.internal.tasks.InstallVariantTask.install(InstallVariantTask.java:159)
        at com.android.build.gradle.internal.tasks.InstallVariantTask.lambda$doTaskAction$1(InstallVariantTask.java:96)
        at com.android.builder.testing.api.DeviceProvider.use(DeviceProvider.java:53)

┆Issue is synchronized with this Jira Task

@Amejia481 Amejia481 added the Android:12 Issues specific to Android 12 - API 31 label Nov 23, 2021
@github-actions github-actions bot added the needs:triage Issue needs triage label Nov 23, 2021
@mcarare mcarare self-assigned this Jan 6, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 6, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 7, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 7, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 7, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 7, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 7, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 10, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 10, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 10, 2022
mcarare added a commit to mcarare/fenix that referenced this issue Jan 10, 2022
@mcarare
Copy link
Contributor

mcarare commented Jan 13, 2022

Closed in #23082.

@mcarare mcarare closed this as completed Jan 13, 2022
pkirakosyan pushed a commit to gexsi/user-agent-android that referenced this issue Mar 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android:12 Issues specific to Android 12 - API 31 needs:triage Issue needs triage
Projects
None yet
Development

No branches or pull requests

2 participants