-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update tool versions and ensure smooth build #37
Comments
After upgrading the Gradle plugin version to 3.4.2 these were the immediate actions:
|
Okay, this has got a lot more complicated than I first imagined.
Both cardslib and sdk-manager-plugin are no longer maintained. For now I am hoping I can still use them in the short term, as I just want to get something which builds and then move on to the long term future. The docs for sdk-manager-plugin itself are saying that it's no longer needed after Gradle plugin version 2.2.0, but cardslib 1.6.0 is using Gradle Plugin version 0.10.x. Nevertheless, using SDK Manager is going to require the "android" tool, which would require going back to an old version of the Android SDK, exactly what I'm trying to avoid in this ticket. It seems like the options are:
I want to avoid option 1 for now, because this would also require everyone else to do the same thing if they wanted to build SealNote Plus from source. Option 2 is a long term goal, but will probably require massive changes to the UI, which is not very practical when (in the short term) you can't even build what you have. So I am going to try with option 3 and see how far I can get. |
I used the directory names as module names: "library" and "library-extra". Initial sync with 3.4.2:
Someone else has seemingly fixed the cardslib build issues: oplarshad/cardslib@ef39a99 But they applied their changes on top of HEAD, whereas we are on 1.6.0. Still, their commit is useful for reference. |
After resolving the above items, it works smoothly, and behaviour seems fine on Android 7.1.1 (which was the latest tested in legacy; there are known issues with Android 8.0 which we will fix in the near future). There are still many items from oplarshad/cardslib@ef39a99 we have not implemented; I will create another issue to see whether these are needed. |
Some versions are hard-coded. Update to the latest versions of tools (Gradle, Android SDK Tools etc) and ensure (a) the project still builds, (b) it builds smoothly, in-line with current best practices. This should be done with the latest version of Android Studio.
Note that this does not include upgrading the SDK version overall - see #43 for that.
EDIT: If cardslib is not removed under this issue, we need to create another issue to remove cardslib eventually.
The text was updated successfully, but these errors were encountered: