Flutter Demo Template App will crash

Hi.

I want to test Backendless to see if it will work for my project. I downloaded the Flutter Template. But when I run it it will crash the a demo app with this error.

Syncing files to device Android SDK built for x86…
W/ple.FlutterTes( 5410): Accessing hidden method Landroid/app/ActivityThread;->currentApplication()Landroid/app/Application; (greylist, reflection, allowed)
I/RTClient( 5410): try to subscribe RTSubscription{id=‘XXXXXXXXXXX’, callback=com.backendless.rt.data.EventHandlerImpl$5@6541f80, subscriptionName=OBJECTS_CHANGES, options={whereClause=objectId=‘XXXXXXXX’, event=updated, tableName=TestTable}}
I/cketIOConnectionManager( 5410): Socket not connected. Try to get lock
I/cketIOConnectionManager( 5410): Got lock
E/AndroidRuntime( 5410): FATAL EXCEPTION: pool-BackendlessSDK-thread-1
E/AndroidRuntime( 5410): Process: com.example.FlutterTest, PID: 5410
E/AndroidRuntime( 5410): java.lang.NoClassDefFoundError: Failed resolution of: Lio/socket/client/IO$Options;
E/AndroidRuntime( 5410): at com.backendless.rt.SocketIOConnectionManager.get(SocketIOConnectionManager.java:60)
E/AndroidRuntime( 5410): at com.backendless.rt.RTClientSocketIO.subscribe(RTClientSocketIO.java:133)
E/AndroidRuntime( 5410): at com.backendless.rt.AsynRTClient$1.run(AsynRTClient.java:19)
E/AndroidRuntime( 5410): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime( 5410): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime( 5410): at java.lang.Thread.run(Thread.java:923)
E/AndroidRuntime( 5410): Caused by: java.lang.ClassNotFoundException: Didn’t find class “io.socket.client.IO$Options” on path: DexPathList[[zip file “/data/app/~~YWEHJnm5BgkN3wfcdZtj_g==/com.example.FlutterTest-2VjdfxwWJ3A-B2oaB3WfGw==/base.apk”],nativeLibraryDirectories=[/data/app/~~YWEHJnm5BgkN3wfcdZtj_g==/com.example.FlutterTest-2VjdfxwWJ3A-B2oaB3WfGw==/lib/x86, /data/app/~~YWEHJnm5BgkN3wfcdZtj_g==/com.example.FlutterTest-2VjdfxwWJ3A-B2oaB3WfGw==/base.apk!/lib/x86, /system/lib, /system_ext/lib]]
E/AndroidRuntime( 5410): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
E/AndroidRuntime( 5410): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime( 5410): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime( 5410): … 6 more
I/Process ( 5410): Sending signal. PID: 5410 SIG: 9

Hello, @Jaco_Fourie.

This issue has already been fixed. The fix is currently on our test server. It will be in production shortly.
BKNDLSS-28359

Best Regards, Nikita.

OK thanks. I found this to be the issue.

_testTableDataStore.rt().addUpdateListener(
(response) => setState(() => _savedValue = response[‘foo’]),
whereClause: “objectId=’${_savedTestObject[“objectId”]}’”);

The rest of the app works fine

The problem has been fixed. The changes are already on the production server.

Best Regards, Nikita.