How to use tools:overrideLibrary with multiple libraries

前端 未结 2 1062
梦如初夏
梦如初夏 2020-12-25 11:39

I would like to create an Android project that is compatible to e.g. API level 4 but would still like to test it with UiAutomator that requires API level 18 on newer devices

2条回答
  •  青春惊慌失措
    2020-12-25 12:28

    According to official doc(section Merge conflict marker for imported libraries), it should be.

    
       ...
       
    

    where com.example.lib1, com.example.lib2 are the packages declared in the AndroidManifes inside the libraries.

提交回复
热议问题