Open victorcode1 opened 2 weeks ago
➤ PM Bot commented:
Jira ticket: RDART-1095
Facing the same issue after upgrading some of my dependencies
Same for me.
solved adding
subprojects {
afterEvaluate { project ->
if (project.plugins.hasPlugin("com.android.application") ||
project.plugins.hasPlugin("com.android.library")) {
project.android {
compileSdkVersion 34
}
}
}
}
in android/build.gradle
after
rootProject.buildDir = "../build"
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
Same for me.
solved adding
subprojects { afterEvaluate { project -> if (project.plugins.hasPlugin("com.android.application") || project.plugins.hasPlugin("com.android.library")) { project.android { compileSdkVersion 34 } } } }
in android/build.gradle
after
rootProject.buildDir = "../build" subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" }
It seems to work, but it doesn't really solve the problem. Instead, I think the development team will have to look for a suitable solution.
In my case, for example, this worked, but the sharepreference returns null null.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.shared_preferences_android.SharedPreferencesApi.getAll"., null, null)
Yes, obviously mine is a temporary fix... we need an action from Realm team
I solved this issue by downgrading the Flutter SDK, I had recently updated my dependencies and the Flutter SDK to version 3.24.X and then I started having the same problem. I went back to SDK 3.22.0 and solved this issue, I think it might be a compatibility problem between Flutter and Realm
What happened?
What went wrong: Execution failed for task ':realm:verifyReleaseResources'.
Repro steps
flutter run --release
Version
lasted
What Atlas Services are you using?
Local Database only
What type of application is this?
Flutter Application
Client OS and version
lasted
Code snippets
No response
Stacktrace of the exception/crash you're getting
Relevant log output