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
The current version of the PaparazziPlugin requires to have com.android.library declared. Is it intentional? I’m asking because I’ve tried to use it with a usual application module and saw the plugin complaint.
The Android Gradle library plugin must be applied before the Paparazzi plugin.
The text was updated successfully, but these errors were encountered:
That is correct. This is because the merged resources for library modules are in xml, while for application modules, they are transformed to a binary flat format, which Paparazzi is currently unable to parse.
In a future release, we hope to be able to support app modules. Workaround for now would be to move the layout resources or custom views into a separate library module and apply the plugin in that module.
Based on my own experience, being able to use this library with the main app module would be expected without much fuss. I tried and finally realized what the error message was telling me, and along with this issue: cashapp#105 I was able to determine that Paparazzi does not support app modules. It should be made clear right up front so that no one else wastes their time.
The current version of the
PaparazziPlugin
requires to havecom.android.library
declared. Is it intentional? I’m asking because I’ve tried to use it with a usual application module and saw the plugin complaint.The text was updated successfully, but these errors were encountered: