Check if Library is used in Android app

后端 未结 4 1186
迷失自我
迷失自我 2021-02-12 09:55

I received some legacy code of app (not developed by me, but by some other team, with no documentation), which has almost 20+ dependencies, in build.gradle.

4条回答
  •  灰色年华
    2021-02-12 10:36

    Finding libraries and resources used in an Android app comes up in several contexts.

    For the apps published in Google Play, AppBrain maintains reverse lookups, from the library to the more popular apps that use it. For example, apps using a newish 2D game library Godot.

    Apktool will decode the APK directly.

    The author instead wants to find (unused) resources, starting from the source code and the build process. Gabriele Mariotti above links to the question, whose accepted answer provides detailed information on use of minifyEnabled and shrinkResources in Gradle configuration.

    Review Shrinking Android app and ProGuard vs R8.

提交回复
热议问题