Closed hidiyou closed 2 years ago
You placed the maven repository and the modImplementation/include in the wrong place in your build.gradle.
The maven entry must go inside the existing repositories code block, and the modImplementation/include just go in the dependencies code block, under the the other modImplementation entries.
See an example here: https://github.com/kyrptonaught/exampleCPAPortals/blob/main/build.gradle
Thank you, this problem is solved!
谢谢,这个问题解决了!
(Please forgive my poor English and poor programming skills)
(请原谅我糟糕的英语和糟糕的编程能力)
This is my first time using mod library.
这是我第一次使用mod库 I don't know why, when I try to use it and then it said: (Was I forget something or I didn't install it?)
我不知道为什么,当我打算使用它时,它说:(是我忘了做什么事情还是我并没有安装它)
The following are build.gradle:
以下是build.gradle: