Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5404] When using modules with SDK 6.3.0GA getting UnsatisfiedLinkError for nativeBootstrap

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2017-12-09T20:18:58.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator Modules
LabelsUnsatisfiedLinkError, android, module, nativeBootstrap
Reporterkladogen@gmail.com
AssigneeShak Hossain
Created2017-11-24T09:10:05.000+0000
Updated2017-12-09T20:18:58.000+0000

Description

1. Create a new module for android and add some code if you want 2. Publish the module to the SDK (6.3.0) but the same happens with previous versions >= 6.1 3. Use the module in a classic android app 4. Run the app on an android device 5. The app crashes with the following error : java.lang.UnsatisfiedLinkError: No implementation found for void eu.orderfast.of_sockets_module630.OfSocketsModule630Bootstrap.nativeBootstrap() (tried Java_eu_orderfast_of_1sockets_1module630_OfSocketsModule630Bootstrap_nativeBootstrap and Java_eu_orderfast_of_1sockets_1module630_OfSocketsModule630Bootstrap_nativeBootstrap__) at eu.orderfast.of_sockets_module630.OfSocketsModule630Bootstrap.nativeBootstrap(Native Method) at eu.orderfast.of_sockets_module630.OfSocketsModule630Bootstrap.bootstrap(OfSocketsModule630Bootstrap.java:17) at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:159) at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:118) at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205) at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114) at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:136) at eu.orderfast.of.OrderfastApplication.onCreate(OrderfastApplication.java:52) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5455) at android.app.ActivityThread.-wrap2(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1574) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:163) at android.app.ActivityThread.main(ActivityThread.java:6237) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Comments

  1. Mostafizur Rahman 2017-11-26

    Hello [~kladogen], Thanks for sharing with us. Can you try to create module using *appc new -p android* , test again and let us know how it goes. Best
  2. Sharif AbuDarda 2017-11-30

    Hello [~kladogen], Please generate a sample app with a sample module and send the app in here. We will test it in our environment. Thanks.
  3. Mostafizur Rahman 2017-12-03

    Hello [~kladogen],I just wanted to follow up here. Did you manage to follow the instructions provided earlier? Let us know if you still experience any issue. We would be happy to assist you. Best Regards!

JSON Source