Skip to content

RunTime Error in Android  #180

Description

@khaledsawan

I got this runtime error. Note, I am reading a JS file from an asset to run the method. Before the upgrade, everything was working fine
Note: the code works fine in IOS
Note 2: I got the same error when I run the example

I/flutter (20058): The following exception was thrown Route generation failed for /:
I/flutter (20058): Invalid argument(s): Failed to load dynamic library 'libfastdev_quickjs_runtime.so': dlopen failed: empty/missing DT_STRTAB in "/data/app/~~0VvwdisjfzZaNo9BsshRAw==/com.Workiom-tkErQKWtc18k6cJoCMNW0A==/lib/arm64/libfastdev_quickjs_runtime.so"
I/flutter (20058): #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:43)
I/flutter (20058): #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22:12)
I/flutter (20058): #2 _qjsLib (package:flutter_js/quickjs/ffi.dart:130:34)
I/flutter (20058): #3 _qjsLib (package:flutter_js/quickjs/ffi.dart)
I/flutter (20058): #4 _jsNewRuntime (package:flutter_js/quickjs/ffi.dart:165:19)
I/flutter (20058): #5 _jsNewRuntime (package:flutter_js/quickjs/ffi.dart)
I/flutter (20058): #6 jsNewRuntime (package:flutter_js/quickjs/ffi.dart:210:14)
I/flutter (20058): #7 QuickJsRuntime2._ensureEngine (package:flutter_js/quickjs/quickjs_runtime2.dart:61:16)
I/flutter (20058): #8 QuickJsRuntime2.evaluate (package:flutter_js/quickjs/quickjs_runtime2.dart:187:5)
I/flutter (20058): #9 QuickJsRuntime2.initChannelFunctions (package:flutter_js/quickjs/quickjs_runtime2.dart:246:9)
I/flutter (20058): #10 JavascriptRuntime.init (package:flutter_js/javascript_runtime.dart:69:5)
I/flutter (20058): #11 new QuickJsRuntime2 (package:flutter_js/quickjs/quickjs_runtime2.dart:56:10)
I/flutter (20058): #12 getJavascriptRuntime (package:flutter_js/flutter_js.dart:35:15)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions