-
Notifications
You must be signed in to change notification settings - Fork 838
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
Can't include AndroidBeaconLibrary as a project dependency with source #696
Comments
|
Thank you for your answer. Unfortunately when I follow the provided steps I receive following error after syncing: I'm using the most recent of Android Studio 3.1.2, can you help me to resolve this issue? |
This sounds like an incompatibility between the gradle version used by your project and that used by the library. This is a common and frustrating problem as gradle's evolution often creates backward incompatibilities. I see a similar issue here: google/ExoPlayer#3708 You might try upgrading the gradle version in the android-beacon-library to be the same as your project (I would try to get it working by itself first before integrating with your project. And if you can get it working, I would welcome a pull request on the library to upgrade gradle.) If you can't get this working, you might try downgrading your project's gradle version to match that of the library. |
Thank you! I will try to do it and will come back here with the report how it went. |
Thank you for your help. All I needed to do is to add |
Just to be more specific for anyone who reads this thread:
to
|
Hi.
I'm trying to add android-beacon-library as the project dependency, but WITH the source code. I want to be able to change the source so I could add some functionality to this great library.
I don't want to add it as aar or by adding "compile 'org.altbeacon:android-beacon-library:2+'". I want to add the library as a source code, but when I'm trying to File->New->Import Module.. I can't select the project, instead I get "Select Modules to Import" error message.
Can you please let me know what I'm doing wrong and what should I do in order to have this library as a library dependency with source code?
The text was updated successfully, but these errors were encountered: