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

[ Android ] QGC Occurring common android source build error,but still having problem solving it ,despite with online raised solutions #11944

Closed
dannynfs opened this issue Sep 24, 2024 · 1 comment
Labels

Comments

@dannynfs
Copy link

dannynfs commented Sep 24, 2024

Occurring common android source build error,but still having problem solving it ,despite with online raised solutions
Im running qgc stable 4.4/qt 5.15.0,android build and having following error
螢幕擷取畫面 2024-09-24 093048
the following is my android env settings
螢幕擷取畫面 2024-09-24 092917
螢幕擷取畫面 2024-09-24 092845
By researching online i found that it usually happened because of gradle version incompatible with jdk version ,so two common method solving it is by upgrading the projects gradle version or degrade java jdk into jdk11,where i came across issues on attempting both methods

1.Upgrading the projects gradle version:
By modifying both "gradle-wrapper.properties" and "build.gradle"s gradle specification
螢幕擷取畫面 2024-09-24 093144
螢幕擷取畫面 2024-09-24 093648
but after running the project,the changes i made both went back to the original settings which is 5.6.4 in gradle wrapper.properties and 3.6.0 in the latter,don't know if there's any other file included in qgc stable 4.4 does that

2.degrading java jdk into jdk11
By attempting it this occurs
螢幕擷取畫面 2024-09-24 094851
螢幕擷取畫面 2024-09-24 094901
螢幕擷取畫面 2024-09-24 094918
simply cant degrade to jdk11

both issues have been searching online but no obvious solution found
maybe some mighty heros could help me here

@HTRamsey
Copy link
Collaborator

#11907

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants