You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(graphql_flutter): update connectivity_plus version to fix Android build issues
This update resolves build failures caused by outdated configurations in Android Gradle Plugin (AGP).
The errors included:
Execution failed for task ':connectivity_plus:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':connectivity_plus:androidJdkImage'.
The fix includes:
- Updating connectivity_plus version.
- Updating compileOptions and kotlinOptions to target Java 17.
- Updating gradle-wrapper.properties to use Gradle 8.4.
- Adding documentation for Java 17 build requirements.
Fixeszino-hofmann#1480
To ensure compatibility with the latest Android configurations, this project now requires **Java 17**. Please verify your development environment is set up accordingly:
84
+
85
+
### 1️⃣ Check Your Java Version
86
+
87
+
Run the following command to check your Java version:
88
+
89
+
```sh
90
+
java -version
91
+
```
92
+
93
+
Ensure the output indicates **Java 17**. If not, update your Java Development Kit (JDK) to version **17**.
94
+
95
+
### 2️⃣ Update Gradle Settings
96
+
97
+
Modify your `android/gradle/wrapper/gradle-wrapper.properties` file to use **Gradle 8.4**:
0 commit comments