Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Self hosted Plugins: Including 3rd-party-libraries in Plugin
Started by bjoern Sep 25 2018 04:19 AM

No replies to this topic
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Enthusiast

  • 76 posts
  • Corona SDK



I recently built a plugin which uses 3rd-party-libraries (e.g. from Firebase) using Corona Native Build with Android Studio. That was no problem and the plugin worked as expected.

Now I want to use that plugin as a self hosted plugin in simulator builds. The building process in Corona Simulator is working for me, I tested with a basic plugin without other dependencies.

However, I'm not able to get my real plugin working, I guess because of the dependencies from 3rd-party-libraries (error message on the device is "java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/FirebaseAnalytics").


I tried to pack those library files as .jar-files into the .tgz archive, which did not help.

How can I use 3rd-party-libraries, which are not part of the shared libraries, in a self hosted plugin?


Best regards!