Google published a set of articles on how to mitigate different security issues: https://developer.android.com/privacy-and-security/risks
Android Developers
Mitigate security risks in your app | Security | Android Developers
https://sijus.medium.com/quickly-toggle-between-artifactory-and-local-android-libraries-1668086598e9
Medium
Quickly Toggle Between Artifactory and Local Android Libraries
When working with an Android library, it’s common to make changes and quickly test them in your app. Constantly switching between using…