Skip to content
Advertisement

Installation did not succeed in Android version 12 – API 31 and above

I tried to install my application in an Android version 12. I added the android:exported for each activity, receiver and filters. This error occurs

JavaScript

The merged manifist displays these errors

JavaScript

This is the test AndroidManifest.XML file that causes the errors

JavaScript

These are the test dependencies I’m using

JavaScript

The problem occurs in the test package and its auto generated. How to fix it?

I tried multiple solutions to fix the problem but nothing seems to fix it.

These are some solutions I looked into but didn’t work for me.

Advertisement

Answer

The error was fixed by changing this dependency version androidx.fragment:fragment-testing

from version 1.3.5

debugImplementation 'androidx.fragment:fragment-testing:1.3.5'

to version 1.4.0

debugImplementation 'androidx.fragment:fragment-testing:1.4.0'

This answer helped me fix the error https://stackoverflow.com/a/71605255/9770844

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement