You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalStateException: Please provide the required library data via the available APIs.
Depending on the platform this can be done for example via `LibsBuilder().withJson()`.
I didn't apply any options to the aboutLibraries block
I was under the impression that the plugin would take care of creating necessary assets.
Does that mean that I need to recreate the json file with every new build?
EDIT:
I figured the crash is gone when adding the plugin to the app level build.gradle, but the libs stay empty in the UI/while debugging the libs value. When generating the aboutlibraries.json file manually (which is also empty as stated in another issue #800 ) and running the app afterwards it complains about duplicate resources.
Overall having the plugin configured to generate the json and then having it as part of git may be a workaround (e.g. it not being automatically registered as part of the Android build pipelines)
About this issue
Inititalizing the
LibrariesContainer()
without previously manually creating the the json file crashes the app at runtime.I didn't apply any options to the
aboutLibraries
blockI was under the impression that the plugin would take care of creating necessary assets.
Does that mean that I need to recreate the json file with every new build?
EDIT:
I figured the crash is gone when adding the
plugin
to the app levelbuild.gradle
, but the libs stay empty in the UI/while debugging the libs value. When generating theaboutlibraries.json
file manually (which is also empty as stated in another issue #800 ) and running the app afterwards it complains about duplicate resources.Details
- Used library version: 10.6.1
Checklist
The text was updated successfully, but these errors were encountered: