MissingMethodException in groovy
问题 I'm trying to work with pdfbox and groovy together. I wrote a code that takes some information in a format of string and creates a pdf document with that info. I want to integrate this code to an android app I'm creating. I ran the code in intellij IDEA and it works very well, but when I try to run the code in Android Studio, I get a MissingPropertyException in some part of the code which works perfectly not on Android Studio. The code in this part use a method called getWidth() from the