阅读背景:

在android studio(1.1.0)中如何从另一个源添加对java文件的依赖?

来源:互联网 

I am trying to incorporate a C library. I have the NDK portion worked out. However, the library includes a java interface module as a package which the top level application file imports. The build fails to find that package import. I think that I need to add a dependency but can't find how to do so. I don't want to simply copy the package into the project because I hope to have several projects using this library and that simply isn't a good coding practice. It seems that I should be able to add a classpath somewhere but gradle/Android Studio seem to reject everything I have tried. Does anyone have any suggestions? Thank you very much. ChuckI am trying to incorporate a C library. I have




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: