We are not able to install our application on Android 12 devices
Describe the bug :
When We try to install our app on android 12 devices then it is showing an error. But in android 11 and below it is running normally.
Expected Behaviour :
There should not be any kind of error. And our application should also be installed on android 12 also.
Steps to reproduce it :
Firstly pull the latest code from develop branch of the agora-android repo. And then set up the project. And then try to install it on Android 12 devices. It will show errors that export should be handled explicitly. And now again install the application on android 11. This time application will run smoothly.
- We should add exported as value true for every activity which contains intent-filter in the MANIFEST file.
- And after doing that we also fix our leakcanary.
- Now we can install the application on android 12 also.
- But it will show a flag immutable error and the application will be crashed.
After adding exported in MANIFEST and fixing leakcanary :
Now we can install our application on Android 12 devices. But now the app will crash and will show an error.
Smartphone Info :
Device | Redmi note 10 pro max |
Android Version | 12 |
Would you like to work on the issue?
yes, I have already fixed this.