SHAREVITALSIGNS: Initial commit for converting ShareVitalSigns project to use Gradle in Android Studio. - #4
Open
ionathanch wants to merge 9 commits into
Open
SHAREVITALSIGNS: Initial commit for converting ShareVitalSigns project to use Gradle in Android Studio.#4ionathanch wants to merge 9 commits into
ionathanch wants to merge 9 commits into
Conversation
added 3 commits
June 26, 2018 11:01
…t to use Gradle in Android Studio.
…o match Gradle build file.
…String instead of using enums to determine which constructor to call.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is for issue #2. I managed to import just ShareVitalSigns into Android Studio, but it wouldn't autogenerate the Gradle stuff when I tried to import all of sharevitalsigns, so this is excluding the demo apps.
I've also had to raise the minSdkVersion from 10 to 14 in order for everything to work.
android-support-v4.jarhas been deleted because it's included as the dependencycom.android.support:support-v4:26.0.0-alpha1. (This was the version it included automatically but the latest version is 26.1.0, can we upgrade to that?)To build AARs and JARs:
sharevitalsigns/ShareVitalSigns/directory in Android StudioFile > Sync Project with Gradle FilesView > Tool Windows > GradleShareVitalSigns > ShareVitalSigns > Tasks > other > copyJarsharevitalsigns/ShareVitalSigns/app/build/outputs/in theaar/andjar/directoriesLet me know if this works for you; you can try it out by checking out the
androidstudiobranch. I've tested it by copying the generatedsharevitalsigns.jartoLNhealth/libraries/sharevitalsigns/sharevitalsigns.jarand building RRate as the provider and HybridPocketDoc as the receiver.