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
Can you provide a version adapted to Android 15 16KB?
Repro steps
dependencies:
realm: ^20.0.0
flutter pub run realm generate
Running in Android 15 emulator 16kb environment
Version
20.0.0
What Atlas Services are you using?
Local Database only
What type of application is this?
Dart standalone application
Client OS and version
Android15
Code snippets
No response
Stacktrace of the exception/crash you're getting
======== Exception caught by widgets library =======================================================
The following RealmException was thrown building Builder:
Cannot get app directory. Error: Realm error : Could not open librealm_dart.so. Tried:
- "librealm_dart.so"
Hint: Did you forget to add a dependency on the realm package?
The relevant error-causing widget was:
MaterialApp MaterialApp:file:///Users/wyqlxf/Desktop/FlutterProjects/flutter_so_demo/lib/main.dart:16:12
When the exception was thrown, this was the stack:
#0 RealmCore.getAppDirectory (package:realm_dart/src/handles/native/realm_core.dart:107:7)#1 Configuration.defaultStoragePath (package:realm_dart/src/configuration.dart:86:22)#2 Configuration.defaultRealmPath (package:realm_dart/src/configuration.dart:93:47)#3 Configuration.defaultRealmPath (package:realm_dart/src/configuration.dart)#4 Configuration._defaultPath (package:realm_dart/src/configuration.dart:107:44)#5 new Configuration._ (package:realm_dart/src/configuration.dart:103:50)#6 new LocalConfiguration._ (package:realm_dart/src/configuration.dart:257:14)#7 Configuration.local (package:realm_dart/src/configuration.dart:152:26)#8 _MyHomePageState.write (package:flutter_so_demo/main.dart:139:32)#9 _MyHomePageState.initState (package:flutter_so_demo/main.dart:66:5)#10 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5618:55)#11 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5463:5)
... Normal element mounting (228 frames)
#239 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4340:16)#240 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6904:36)#241 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6916:32)
... Normal element mounting (489 frames)
#730 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4340:16)#731 Element.updateChild (package:flutter/src/widgets/framework.dart:3849:18)#732 _RawViewElement._updateChild (package:flutter/src/widgets/view.dart:291:16)#733 _RawViewElement.mount (package:flutter/src/widgets/view.dart:314:5)
... Normal element mounting (7 frames)
#740 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4340:16)#741 Element.updateChild (package:flutter/src/widgets/framework.dart:3849:18)#742 RootElement._rebuild (package:flutter/src/widgets/binding.dart:1581:16)#743 RootElement.mount (package:flutter/src/widgets/binding.dart:1550:5)#744 RootWidget.attach.<anonymous closure> (package:flutter/src/widgets/binding.dart:1503:18)#745 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2845:19)#746 RootWidget.attach (package:flutter/src/widgets/binding.dart:1502:13)#747 WidgetsBinding.attachToBuildOwner (package:flutter/src/widgets/binding.dart:1239:27)#748 WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:1221:5)#749 WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:1207:7)#753 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
(elided 3 frames from class _Timer and dart:async-patch)
====================================================================================================
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
What happened?
https://developer.android.com/guide/practices/page-sizes?hl=zh-cn
Can you provide a version adapted to Android 15 16KB?
Repro steps
realm: ^20.0.0
Version
20.0.0
What Atlas Services are you using?
Local Database only
What type of application is this?
Dart standalone application
Client OS and version
Android15
Code snippets
No response
Stacktrace of the exception/crash you're getting
Relevant log output
No response
The text was updated successfully, but these errors were encountered: