Comments (15)
Hi @harrynguyen2k2, They are generated by Glide APT
from android-rich-text-editor.
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.
Do you have implementation 'com.github.bumptech.glide:glide:4.3.1'
in your build.gradle? Maybe rebuild?
from android-rich-text-editor.
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.
What's your compileSdkVersion
?
from android-rich-text-editor.
My compileSdkVersion
is 28
from android-rich-text-editor.
这个我遇过,你需要各个击破,先把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.
这个编译这个过程之前搞了好久,先局部编译,再综合。主要是 GlideApp and GlideRequests 这个类得弄好
from android-rich-text-editor.
这个是将你的库(are)导入到自己的项目中,发生的编译问题,直接下载编译是不会出现的
from android-rich-text-editor.
@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.
@bingely Thanks for commenting.
from android-rich-text-editor.
作者有博客吗,感觉你英语不错,可以多了解下你的作品
from android-rich-text-editor.
@bingely 我太懒了(也太蠢了,我咋没写博客呢?看着林林总总的博客大牛写了无数篇文章,而我只能长叹望尘莫及,嘿嘿 我加油。。),希望跟您这样的朋友多多交流。
from android-rich-text-editor.
@chinalwb It works, amazing.
Thank you so much, best wishes for you!!
from android-rich-text-editor.
@harrynguyen2k2 N/P, glad to know it works.
from android-rich-text-editor.
Related Issues (20)
- IndexOutOfBoundsException HOT 2
- 如何在输入里播放video
- Color does not change
- 大佬 求支援
- Images are not showing in saved file
- sContext 内存泄露
- How to implement undo/redo? Is there any way to insert audio? HOT 1
- 学习使用,项目中不能用 HOT 3
- RTL support HOT 3
- how to get event when a user clicks on an element?
- 怎么清空里面的内容
- How to chance/add more color to color picker? HOT 1
- Library state HOT 1
- 可以插入音频吗 HOT 1
- Cannot found class HOT 2
- 兼容BASE64图片内容
- with hilt, throws RuntimeException: Unable to start activity ComponentInfo{} HOT 1
- Add checkboxes/to-do list HOT 1
- 建议用做学习,bug还是蛮多的 HOT 1
- RTE with porguard laggy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-rich-text-editor.