This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
forked from FIRST-Tech-Challenge/FtcRobotController
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd156fa
commit 38989c1
Showing
5 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
38989c1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaell4438 I fixed the build! You might need to download the Temurin OpenJDK 11 in your IntelliJ JDK manager to get it to work on your computer. This should be good though because now GitHub Actions and local builds will use the same JDK.
38989c1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i shouldn't be commenting considering. im not on the team anymore. but pls check to make sure going to 11 is game legal, i chose 1.8 specifically and i think it had to do with legality? or it could've been library compatibility or something. not sure
if its legal and 11 works by all means switch to it though, the newer the java build the better
38989c1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OH I REMEMBER IT WAS BECAUSE OF MIN COMPILE VERSION
gradle was set to a target version of android api level 25 or 26 at one point, and sometimes level 25 didn't play nicely with newer language features (compiled fine, but killed itself during runtime)
i did manage to get it targeting 33 eventually but i believe it still might be supporting 25 as the minimum api level. make sure the phones, ds, and hub support an api level which supports java 11 before using features from 11
worse case scenario u just have to set the ide language level at 1.8 but compile to 11. actually i believe my ide language level was 16 but it was compiling for 1.8, and it just worked somehow. maybe its fine idk