You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this library in my android app. When upgrading the compileSdkVersion to 31 i get the following error:
Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
After doing some research i found the following stack overflow post: https://stackoverflow.com/a/69347425/12912676. After following what the comment I linked to suggests, I found that this library has services, receivers and activities without the android:exported attribute in your manifest.
I was able to workaround this issue by overriding the receiver, service or activity in my own android manifest and adding the android:exported and tools:node="merge" attribute to it.
But i would like to see this changed in this library so I don't have to do this. By adding the android:exported="true|false" to your services, receivers and activities in your manifest should resolve the issues on my side.
Thanks in advance.
Feel free to ask for more info if you need it.
The text was updated successfully, but these errors were encountered:
I'm using this library in my android app. When upgrading the compileSdkVersion to 31 i get the following error:
After doing some research i found the following stack overflow post: https://stackoverflow.com/a/69347425/12912676. After following what the comment I linked to suggests, I found that this library has services, receivers and activities without the android:exported attribute in your manifest.
I was able to workaround this issue by overriding the receiver, service or activity in my own android manifest and adding the android:exported and tools:node="merge" attribute to it.
<receiver android:name="com.pax.market.android.app.sdk.DownloadParamReceiver" android:exported="false" tools:node="merge" />
But i would like to see this changed in this library so I don't have to do this. By adding the android:exported="true|false" to your services, receivers and activities in your manifest should resolve the issues on my side.
Thanks in advance.
Feel free to ask for more info if you need it.
The text was updated successfully, but these errors were encountered: