Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding documentation to use a local copy of the OpenXC library #250

Closed
rwoberholzer opened this issue Jun 9, 2016 · 2 comments
Closed

Comments

@rwoberholzer
Copy link
Contributor

I've recently run into the issue of needing to use a local copy of the openxc-android library as a dependency. To do this, I added the following to settings.gradle in my app:

include ':library'
project(':library').projectDir = new File(settingsDir, '../openxc-android/library')

and replaced compile 'com.openxcplatform:library:6.1.6+' with compile project(':library') under dependencies in build.gradle.

@emarsman mentioned that it may be a good idea to include this in the OpenXC documentation in case this situation arises for other people.

If anyone knows of a better way to implement using a local dependency, please let me know.

@rwoberholzer
Copy link
Contributor Author

You also need to add some dependencies and other info to build.gradle in the app you're creating. This is an example of what is needed: https://gist.github.com/rwoberholzer/f56cf8a8c209045ad6baca27a2581298

@mstocke
Copy link
Contributor

mstocke commented Jun 29, 2020

I updated the Android Library Installation and App Tutorial pages with instructions for using a local copy of the OpenXC Android Library. This required several files to be added to the starter app and the Enabler. There were 3 associated PRs that were approved and merged:
openxc/openxcplatform.com#132
#372
openxc/openxc-starter#16

@mstocke mstocke closed this as completed Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants