GithubHelp home page GithubHelp logo

Comments (15)

chinalwb avatar chinalwb commented on May 27, 2024

Hi @harrynguyen2k2, They are generated by Glide APT

from android-rich-text-editor.

NDKhoa892 avatar NDKhoa892 commented on May 27, 2024

Sorry but how can I fix two lines:

  • import com.biowiki.are.are.glidesupport.GlideApp;
  • import com.biowiki.are.are.glidesupport.GlideRequests;
    They're still red

from android-rich-text-editor.

chinalwb avatar chinalwb commented on May 27, 2024

Do you have implementation 'com.github.bumptech.glide:glide:4.3.1' in your build.gradle? Maybe rebuild?

from android-rich-text-editor.

NDKhoa892 avatar NDKhoa892 commented on May 27, 2024

Thank you, I've fixed it, but there's one error in Util.java, the line cv.save(Canvas.ALL_SAVE_FLAG); It says that save() in Canvas cannot be applied to (int)

from android-rich-text-editor.

chinalwb avatar chinalwb commented on May 27, 2024

What's your compileSdkVersion?

from android-rich-text-editor.

NDKhoa892 avatar NDKhoa892 commented on May 27, 2024

My compileSdkVersion is 28

from android-rich-text-editor.

bingely avatar bingely commented on May 27, 2024

这个我遇过,你需要各个击破,先把GlideApp and GlideRequests class,编译过去,再综合编译,一次性导入编译有问题。
I have encountered this, you need to break through, first compile the GlideApp and GlideRequests class, and then compile and compile, one-time import and compilation problems.

from android-rich-text-editor.

bingely avatar bingely commented on May 27, 2024

这个编译这个过程之前搞了好久,先局部编译,再综合。主要是 GlideApp and GlideRequests 这个类得弄好

from android-rich-text-editor.

bingely avatar bingely commented on May 27, 2024

这个是将你的库(are)导入到自己的项目中,发生的编译问题,直接下载编译是不会出现的

from android-rich-text-editor.

chinalwb avatar chinalwb commented on May 27, 2024

@harrynguyen2k2 Seems this Canvas.save(int saveFlags) had been removed from Android SDK from SDK 28. -- But I read the source code of Canvas.java in SDK 28, the method is still there and marked as @removed in Android Pie. So if you have import the are source into your project, I think it is safe to just change it to cv.save(); -- and remove the SAVE_FLAG for the cv.restore too.

Give it a try and let me know if it works. Thanks for reporting this.

from android-rich-text-editor.

chinalwb avatar chinalwb commented on May 27, 2024

@bingely Thanks for commenting.

from android-rich-text-editor.

bingely avatar bingely commented on May 27, 2024

作者有博客吗,感觉你英语不错,可以多了解下你的作品

from android-rich-text-editor.

chinalwb avatar chinalwb commented on May 27, 2024

@bingely 我太懒了(也太蠢了,我咋没写博客呢?看着林林总总的博客大牛写了无数篇文章,而我只能长叹望尘莫及,嘿嘿 我加油。。),希望跟您这样的朋友多多交流。

from android-rich-text-editor.

NDKhoa892 avatar NDKhoa892 commented on May 27, 2024

@chinalwb It works, amazing.
Thank you so much, best wishes for you!!

from android-rich-text-editor.

chinalwb avatar chinalwb commented on May 27, 2024

@harrynguyen2k2 N/P, glad to know it works.

from android-rich-text-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.