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

[IMPORTANT] SDK downgrade #49

Open
Kuan-Pang opened this issue Nov 10, 2021 · 1 comment · Fixed by #50 or #51
Open

[IMPORTANT] SDK downgrade #49

Kuan-Pang opened this issue Nov 10, 2021 · 1 comment · Fixed by #50 or #51
Assignees
Labels
bug Something isn't working

Comments

@Kuan-Pang
Copy link
Contributor

  • Android's stable support on Java SDK is stuck with 1.8, but our current config is building on SDK16. Our project does not compile in Android studio.

  • We need to downgrade our SDK to 1.8. Technically speaking, the functionality shouldn't be affected, but we need everyone to adjust settings and syntactic sugar in the project, including:

    • Gradle.build: I will be posting the modified Gradle build config in next PR, before noon today.
    • Syntaxes that are not supported in 1.8: all advanced ones should be "desugared" and modified to compilable syntaxes. I will suppress these syntaxes and mark "TODO" sign next to it (by noon today). Please take a look at your codes and fix the TODOs. Modifications include:
      • Literal box of workday calendar, project logo in the constants.
      • Enhanced switch statements in calendarService branch.
      • blablabla, some other unexpected staff.
  • To make sure we all have the same environment, please check two settings listed below:

    • Press CMD + , and go to BUILD, EXecution, Deployment - Build Tools - Gradle, check the Gradle JVM version is 1.8
      13091636551164_ pic_hd
    • Press CMD + ;, and go to Project, check the Project SDK` is 1.8.
      13141636551236_ pic_hd
  • I hate Android 🤓.

SAD

@Kuan-Pang Kuan-Pang added the bug Something isn't working label Nov 10, 2021
@Kuan-Pang Kuan-Pang changed the title [ *IMPORTANT* ] SDK downgrade **IMPORTANT** : SDK downgrade Nov 10, 2021
@Kuan-Pang Kuan-Pang changed the title **IMPORTANT** : SDK downgrade [IMPORTANT] SDK downgrade Nov 10, 2021
@Kuan-Pang Kuan-Pang reopened this Nov 10, 2021
@Kuan-Pang
Copy link
Contributor Author

The PR is now merged to the main branch, please clone a new version from the main branch. Let me know if it complies.

@Kuan-Pang Kuan-Pang linked a pull request Nov 10, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment