MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    开发不能使用第三方库吗?

    开发交流
    3
    4
    99
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3
      3378230187 last edited by 3378230187

      我在build.gradle.kts中添加了两个库的依赖
      de164b1d-
1fe0-45c7-8313-91031853fe27-image.png


      28c9964b-7e83-4fc3-9d59-95609bd2c374-image.png
      但是只要一使用,在mirai中就报错

      5213dd73-f024-4156-a15d-6961a39b1cd8-image.png

      1 Reply Last reply Reply Quote 0
      • cssxsh
        cssxsh last edited by

        为什么不附上完整的 build.gradle.kts

        另外,你没有使用 buildPlugin 打包插件吗

        3 1 Reply Last reply Reply Quote 0
        • 3
          3378230187 @cssxsh last edited by

          @cssxsh f1df49fa-d301-4ca0-b3c2-bef05b2a12d9-image.png ,感谢提醒,我下次用buildplugin打包

          Y 1 Reply Last reply Reply Quote 0
          • Y
            Yuanning @3378230187 last edited by

            打包的时候把依赖也打包进去不就好了

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact