Could not initialize IsarCore library for processor architecture "android_ia32"
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
Could not initialize IsarCore library for processor architecture "android_ia32". If you create a Flutter app, make sure to add isar_flutter_libs to your dependencies. For Dart-only apps or unit tests, make sure to place the correct Isar binary in the correct directory.
IsarNotReadyError: Unsupported processor architecture. X86 Android emulators are not supported. Please use an x86_64 emulator instead. All physical Android devices are supported including 32bit ARM.
init
` WidgetsFlutterBinding.ensureInitialized();`
` final dir = await getApplicationDocumentsDirectory();`
`Hive.defaultDirectory = dir.path;`
add model
`final box = Hive.box(name: "qrDb");`
` box.put(modelDB.id.toString(), modelDB)`
dependencies
`hive: ^4.0.0-dev.2`
`isar_flutter_libs: ^4.0.0-dev.14`
`[√] Flutter (Channel stable, 3.13.1, on Microsoft Windows [Version 10.0.19045.3324], locale en-US)`
` • Flutter version 3.13.1 on channel stable at C:\flutter`
` • Upstream repository https://github.com/flutter/flutter.git`
` • Framework revision e1e47221e8 (12 days ago), 2023-08-22 21:43:18 -0700`
` • Engine revision b20183e040`
` • Dart version 3.1.0`
`• DevTools version 2.25.0`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure with an android_ia32 emulator using the listed Flutter, hive, and isar_flutter_libs versions. Inspect how the IsarCore binary is selected for Android architectures; the issue does not name a source file or test, and completion would require a defined resolution for x86 emulator support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter
- Domain
- databases, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100