-
Notifications
You must be signed in to change notification settings - Fork 23
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
Not Compiling on Latest Flutter Version 3.29.0 #156
Comments
@psinghal-tfoco Seems like cache issue. Did you tried after clearing the cache? |
Yes, I already tried, but it's not resolving even after clearing the cache. |
location: interface PluginRegistry Issue
@psinghal-tfoco @prateek-kommunicate Until Pull Request 157 merged you can use this in your kommunicate_flutter:
git:
url: https://github.com/AgnelSelvan/Kommunicate-Flutter-Plugin.git
ref: "156" |
@AgnelSelvan Check Android 15 has edge to edge problem also can you fix it |
Configuration -
Flutter Version - 3.29.0
Android Studio Version - Android Studio Ladybug Feature Drop | 2024.2.2
OS - Apple Silicon Based Chipset MacOS 15.3.1 (24D70)
/Users/piyush/StudioProjects/wmd-mobile-app/android/app/src/debug/AndroidManifest.xml Error:
Attribute application@allowBackup value=(true) from (unknown)
is also present at [io.kommunicate.sdk:kommunicateui:2.12.1] AndroidManifest.xml:20:9-36 value=(false).
Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml to override.
FAILURE: Build failed with an exception.
Execution failed for task ':app:processQa_v2DebugMainManifest'.
BUILD FAILED in 18s
Error: Gradle task assembleQa_v2Debug failed with exit code 1
**Then Added this Line in Android Manifest File ->
tools:replace="android:allowBackup"
After that ->**
/Users/piyush/.pub-cache/hosted/pub.dev/kommunicate_flutter-2.0.2/android/src/main/java/io/kommunicate/kommunicate_flutter_plugin/KmMethodHandler.java:15: error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
symbol: class Registrar
location: interface PluginRegistry
/Users/piyush/.pub-cache/hosted/pub.dev/kommunicate_flutter-2.0.2/android/src/main/java/io/kommunicate/kommunicate_flutter_plugin/KommunicateFlutterPlugin.java:10: error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
symbol: class Registrar
location: interface PluginRegistry
/Users/piyush/.pub-cache/hosted/pub.dev/kommunicate_flutter-2.0.2/android/src/main/java/io/kommunicate/kommunicate_flutter_plugin/KommunicateFlutterPlugin.java:17: error: cannot find symbol
public static void registerWith(Registrar registrar) {
^
symbol: class Registrar
location: class KommunicateFlutterPlugin
Note: /Users/piyush/.pub-cache/hosted/pub.dev/kommunicate_flutter-2.0.2/android/src/main/java/io/kommunicate/kommunicate_flutter_plugin/KmMethodHandler.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/piyush/.pub-cache/hosted/pub.dev/kommunicate_flutter-2.0.2/android/src/main/java/io/kommunicate/kommunicate_flutter_plugin/KmMethodHandler.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
FAILURE: Build failed with an exception.
Execution failed for task ':kommunicate_flutter:compileDebugJavaWithJavac'.
BUILD FAILED in 8s
Error: Gradle task assembleQa_v2Debug failed with exit code 1
The text was updated successfully, but these errors were encountered: