Error original picture
So I decisively went online to find the answer. The result was that the DataSupport class had been deprecated and replaced by the LitePalSupport class.
But after using it, an error was reported
. Why was the dependency already referenced?
After searching online for a while, I finally found the first solution. After downloading GitCode , unzip it and find the downloads directory.
Find the corresponding jar package and put it in, then right-click the current jar package, click Add As Library to load it, and then add dependencies to app/build.gradle
The second case has not been found yet. If you are bothering me, can you tell me?