How to put my libraries in front of android.jar by editing build.gradle in Android-Studio

前端 未结 9 840
你的背包
你的背包 2020-12-01 07:19

First Here\'s my Java Build Path in Eclipse: \"enter

These four jars \'common.jar,core

9条回答
  •  执笔经年
    2020-12-01 07:34

    You can do this automatically, just like in Eclipse:

    File > Project structure... > (select app in Modules) > (go to Dependencies tab) > reposition with arrows on the right

    Another way is to edit the [AppName].iml file in the folder your application is in. What you want to change are the tags at the end of the file. However, Android Studio will rearrange those each time you clean or re-open the project.

提交回复
热议问题