Android build of Flutter app failing today #2613
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceNormal codemagic build that has previously worked Expected resultsExpected to build android release without errors Actual resultsWhilst iOS build is fine, the android build shows the following error, even on build that worked fine previously. Execution failed for task ':app:processReleaseMainManifest'.
Build id (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hello @4bSolutionsLLP, Can you please share the buildID for the build that failed? Also, from the error you shared, please check out fluttercommunity/flutter_workmanager#287 (comment) and this SO thread https://stackoverflow.com/questions/67782975/how-to-fix-the-module-java-base-does-not-opens-java-io-to-unnamed-module to see if the solutions work in your case. |
Beta Was this translation helpful? Give feedback.
-
Thanks. The build ID id 667d29a95f11e7e613268039.
It looks like you have changed something your end as previous Android builds that worked, now don't.
Regards
Ian
On 27/06/2024 09:50:37, Damilola Alimi ***@***.***> wrote:
Hello @4bSolutionsLLP [https://github.com/4bSolutionsLLP],
Can you please share the buildID for the build that failed?
You can find it under your build details page's 'ID' section.
Navigate to the 'Builds' section on the left-hand menu, select the build you want to view, and click the copy icon.
Also, from the error you shared, please check out fluttercommunity/flutter_workmanager#287 (comment) [fluttercommunity/flutter_workmanager#287 (comment)] and this SO thread https://stackoverflow.com/questions/67782975/how-to-fix-the-module-java-base-does-not-opens-java-io-to-unnamed-module [https://stackoverflow.com/questions/67782975/how-to-fix-the-module-java-base-does-not-opens-java-io-to-unnamed-module] to see if the solutions work in your case.
—
Reply to this email directly, view it on GitHub [#2613 (comment)], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AQDXTEWRF752KXOTGHN2RK3ZJPG5XAVCNFSM6AAAAABJ5MAH66VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQOJRGUYTO].
You are receiving this because you were mentioned.Message ID: ***@***.***>
…--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
|
Beta Was this translation helpful? Give feedback.
-
Many thanks - will give it a try. On Fri, 28 Jun 2024 at 15:35, Damilola Alimi ***@***.***> wrote:
Thanks for your response!
I see you are on an older version of Flutter and this seems like a gradle issue. You can try using APG version com.android.tools.build:gradle:7.3.1 to see if it works or the workarounds in fluttercommunity/flutter_workmanager#287 (comment) and this SO thread https://stackoverflow.com/questions/67782975/how-to-fix-the-module-java-base-does-not-opens-java-io-to-unnamed-module
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I can confirm that the AGP version upgrade worked! I've upgraded from AGP 4.2.2 to 7.4.2 using the |
Beta Was this translation helpful? Give feedback.
Thanks for your response!
I see you are on an older version of Flutter and this seems like a gradle issue. You can try using APG version com.android.tools.build:gradle:7.3.1 to see if it works or the workarounds in fluttercommunity/flutter_workmanager#287 (comment) and this SO thread https://stackoverflow.com/questions/67782975/how-to-fix-the-module-java-base-does-not-opens-java-io-to-unnamed-module