AIDL working in debug APK but not in signedAPKs

2020-05-07 10:59发布

问题:

I have 2 APKs in which I am sharing data using AIDL.

When I am installing them by debug apks or build apks, feature of AIDL working fine.

But when I am creating signed APK for both with different keys, AIDL feature is not working.

Any one faced same issue? Please help.

Thanks

回答1:

For security reasons, when we need to share data in 2 apps, either by SharePreference or AIDL, both apps should be signed by same keys.

Or we will need to use ContentProvider instead.



标签: android aidl