AlanSTACK
AlanSTACK

Reputation: 6065

How to see the AndroidManifest.xml of my imported packages?

Let's say I have the following import inside my application build.gradle file:

implementation "com.facebook.android:facebook-android-sdk:4.28.0"

I want to see the AndroidManifest.xml of this package. How do I go about doing this?

Upvotes: 3

Views: 687

Answers (3)

aolphn
aolphn

Reputation: 2998

You can check it in your AS,For example,I want to check com.android.support:design-27.0.2's AndroidManifest.xml file

step 1 step 1

step 2 step 2

step 3

step 3

Reedit for step 1

enter image description here

Upvotes: 1

John Chen
John Chen

Reputation: 314

You can find the aar file in the

cd ~/.gradle/caches/modules-2/files-2.1/com.facebook.android/facebook-android-sdk

directory, unzip the aar, you will get the file.

Upvotes: 0

Zach Bublil
Zach Bublil

Reputation: 867

Download the aar by searching in this website : https://search.maven.org/search?q=a:facebook-android-sdk

Then extract the aar file using 7ZIP and you will see the android manifest however, I believe you won't see the full file content due to some protections against reverse engineering. You can download it as JAR instead and use some tools to try to decompile it.

Upvotes: 0

Related Questions