search

Home  >  Q&A  >  body text

android-studio - How to modify files in remote dependencies of Android studio?

I used gradle to pull a dependency compile 'com.bigkoo:pickerview:2.0.8'
Now I want to modify the size of a text in this dependency, However, the file is locked and cannot be modified.

So I wanted to copy all the files in this, but after copying, I found that R.staylabe could not be found, and there was no corresponding file in the original dependency( There is no file in values, only one values. So I would like to ask, is there any way to modify a certain file in lib, or is there any way to export a third party that has been relied on for free use?

I also want to ask about the remote dependencies pulled using

gradle. Will the pulled address become invalid? If it fails, then if you hand over the same build.gradle

file to others, won't others be able to pull this dependency?

世界只因有你世界只因有你2844 days ago823

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-24 11:39:52

    You can fork it into your own library and change it to what you want. The dependencies in gradle are uploaded to a third-party hosting platform, such as jcenter, and the address will not be invalid

    reply
    0
  • Cancelreply