Create Troubleshooting Flutter Errors authored by Devin's avatar Devin
You may come across some build errors in Flutter that involve version conflicts or strange Java errors that require you to make changes to some build configuration files.
This guide attempts to help resolve some of these errors, as we've come across these in the past with this project.
<br>
## Error: Execution failed for task `:app:validateSigningRelease`
**Full error:**
> What went wrong:
>
> Execution failed for task `:app:validateSigningRelease`
>
> Keystore file not set for signing config release).
**Cause:** Flutter is looking for keystore files to validate and sign the application, but it cannot find them. This is a necessary step in getting the app release on the app stores.
**Solution:** Follow [the "Signing" section in this guide to get these files into the project.](Building-and-Signing-(Android))
<br>
## Error: Execution failed for task `:app:processReleaseMainManifest`
**Full error**:
> What went wrong:
>
> Execution failed for task `:app:processReleaseMainManifest`
>
> Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @3c567ac
**Cause**: Ever since Java 14, some features are locked down further by the JDK, making some code inaccessible from other modules or packages.
**Solution**: We need to re-open access. The repository should already have a change to solve this issue, so make sure your local repository is up to date. Otherwise, add the following contents to the following file:
* File: `android/gradle.properties`
* Contents:
```
org.gradle.jvmargs=-Xmx1536M \
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED \
--add-opens=java.base/java.lang=ALL-UNNAMED \
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED \
--add-opens=java.base/java.io=ALL-UNNAMED \
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
```
Note: To prevent conflicts, do not commit or push this change anywhere.
<br>
## Error: