How do I reference external jar files in a common directory (not libs) to build android project using ant?

前端 未结 4 2162
陌清茗
陌清茗 2020-12-03 05:27

I would like to build several android projects that reference the same jar files using ant. I do not want to copy the jar file to each libs directory in the project (due to

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 06:29

    As per the question here and my answer taken from here, the offered solution does not work as of now. Until the filed bug is fixed. The solution, as mentioned in the referenced answer, is copied below.


    I add this to my custom_rules.xml template and it seems to be working fine. I supposed it's only a few more lines than adding path to the ant.properties file until we get a better solution.

    
        
        
        
            
        
        
    
    

提交回复
热议问题