-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 Android SDK 编译 Android 目标 #2635
Conversation
修了一小时, 终于通过删掉 |
好像得重写 relocation |
166b2d9
to
be21ca3
Compare
卧槽, All checks have passed |
9d44dac
to
8dbba71
Compare
92 changes 我觉得没人想 review |
- try to fix sdk dir when android is desired - Do not printAndroidNotInstalled multiple times
…ndroid, and improve build performance: - Generate relocated JARs with classifier `relocated`, instead of replacing the output of `:jar` task. - Create `JvmRelocated` publications to publish relocated artifacts. - Patch Kotlin Metadata and Maven Pom for the added publication. - Updated deps test to be more strict
… building Android
5aaf512
to
8834590
Compare
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright 2019-2023 Mamoe Technologies and contributors. | ||
~ | ||
~ 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. | ||
~ Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link. | ||
~ | ||
~ https://github.com/mamoe/mirai/blob/dev/LICENSE | ||
--> | ||
|
||
<manifest package="net.mamoe.mirai" xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
</manifest> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这东西真的不会在别的项目引入的时候造成资源解析爆炸吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是必须要有的,不然不给编译,虽然我也不是很懂安卓
但是我的 IDE 坏了, 我清除了任何 cache 都不能 import mirai (截图是 dev 分支)