Android Studio - How to remove SDK APIs From External Libraries?
android, android-studio
Solution
You can edit app.iml file and comment the entry `orderEntry` to remove the external libraries you don't need in your Android studio project. In my case, I want to remove all the android libraries (including Android SDK), and take that project as a pure Java project. Then I comment or remove all the following entries
<orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="library" exported="" name="appcompat-v7-21.0.3" level="project" />
<orderEntry type="library" exported="" name="support-annotations-21.0.3" level="project" />
<orderEntry type="library" exported="" name="support-v4-21.0.3" level="project" />
The detailed information of your project might not be the same as above, but it's similar like that to remove external libraries.
Problem
I have adding some SDK APIs to my project, now i need to remove them from External Libraries. So How can i do that ?