Skip to main content

Cannot resolve symbol 'TextLayer'

Comments

2 comments

  • Aleksandar Kostadinov

    Hi Mike,

    I see that you've also raised this directly via a support ticket, but I'll share the response from my colleague Eyal in this thread as well.

    Did the TextLayer() syntax use to work for you before?
    In general, our Java SDK's syntax for adding text overlay involves first defining a text style, and then using it in the following format -
    new Transformation().overlay("text:<style>:Test").gravity("south")
    More information can be found here.

    Can you please try the syntax described above and let me know if it works for you?

     

    0
  • Mike Schoder

    Hello Aleksandar

    Now I understand. No, it didn't work before, as it is my first project with cloudinary. I tried with uploading a custom text overlay and using it, and now it works.

    Thx really much.

    0

Post is closed for comments.