Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

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

No replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

bjoern

[GLOBAL: userInfoPane.html]
bjoern
  • Enthusiast

  • 75 posts
  • Corona SDK

Hello,

 

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!




[topic_controls]
[/topic_controls]