简体   繁体   中英

How to add external library over google API in ordering in android studio

I want to add an external library in my Android Studio project. I have added it, but I want to set its order above Google API. Right now, Google API is being shown as an external library, and the libs I am adding cannot be set above Google API in the ordering. It was possible in Eclipse, but how to do it in Android Studio?

To be more precise: I am rewriting some Android framework classes and want to use them instead of the default Android framework classes. That's why I want to set the order of my lib above the Android API libs. Anyone have an idea how to do this? I have done this in Eclipse by setting the order of my lib at the top.

In Android Studio File - > Project Structure Select your app

Select dependencies(5th TAB).

There is a arrow button on the right of Window. select your library and order the dependencies

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM