How to use google cloud endpoint jar lib in android project

半城伤御伤魂 提交于 2019-12-11 12:37:56

问题


I made a android project and a created a google cloud endpoint module in the same project. Now I want to separate the android project and the backend project. So I changed this line inside app.gradle from:

compile project(path: ':backend', configuration: 'android-endpoints')

to

compile files('libs/backend-android-endpoints.jar')

I copied backend-android-endpoints.jar from backend/build/libs to app/libs

Now when I compile the project, it doesn't compile and gives an error related to Realm, a library that I'm using.

So I think that the problem is with the jar library that I'm using.

Thanks in Advance

来源:https://stackoverflow.com/questions/35338516/how-to-use-google-cloud-endpoint-jar-lib-in-android-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!