Skip to content
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

init of Mapkit is mot working #5

Open
lowfreq2010 opened this issue Jul 23, 2024 · 0 comments
Open

init of Mapkit is mot working #5

lowfreq2010 opened this issue Jul 23, 2024 · 0 comments

Comments

@lowfreq2010
Copy link

lowfreq2010 commented Jul 23, 2024

Hello,

I get the following problem when try to start android app with map_kit_lite

E/flutter (26831): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'yandex_maps_flutter_is_init': undefined symbol: yandex_maps_flutter_is_init
E/flutter (26831): #0 DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:33:70)
E/flutter (26831): #1 _isInit (package:yandex_maps_mapkit_lite/src/bindings/init.dart:15:6)
E/flutter (26831): #2 _isInit (package:yandex_maps_mapkit_lite/src/bindings/init.dart)
E/flutter (26831): #3 initMapkit (package:yandex_maps_mapkit_lite/src/bindings/init.dart:27:7)
E/flutter (26831): #4 main (package:katana/main.dart:22:14)
E/flutter (26831): #5 _runMain. (dart:ui/hooks.dart:301:23)
E/flutter (26831): #6 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:297:19)
E/flutter (26831): #7 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
E/flutter (26831):

our code is :

import 'package:yandex_maps_mapkit_lite/init.dart' as init;

void main() async {
WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding);
await init.initMapkit(
apiKey: 'XXX-XXXX-xXXXXXX'
);
}

package has been installed as described on pub.dev page for mapkit_lite

ios app starts just fine. How can we fix this strange problem? Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant