Skip to content
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

编译报错 #7

Closed
jiantao88 opened this issue Jan 26, 2022 · 2 comments
Closed

编译报错 #7

jiantao88 opened this issue Jan 26, 2022 · 2 comments

Comments

@jiantao88
Copy link

Task :library-base:kaptDebugKotlin FAILED
Execution failed for task ':library-base:kaptDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
java.lang.reflect.InvocationTargetException (no error message)

@miaowmiaow
Copy link
Owner

miaowmiaow commented Jan 27, 2022

我需要更多的日志才能帮你排查问题。
这是我搜索到类似问题的解决方案,你可以点击这里参考下。
如果问题已经解决请给我回复以便于关闭这个issues。

@jiantao88
Copy link
Author

jiantao88 commented Feb 10, 2022

应该是room库 再Mac M1 电脑兼容问题,升级到2.4.0以上就可以,但是compileSdkVersion要设置为31

https://stackoverflow.com/questions/68884589/caused-by-java-lang-exception-no-native-library-is-found-for-os-name-mac-and-o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants