libxposed / service

Apache License 2.0
105 stars 43 forks source link

Hello, why can't I index this library in Android Studio? #4

Closed XiaoYingYo closed 1 year ago

XiaoYingYo commented 1 year ago

@yujincheng08 Hello, why can't I index this library in Android Studio?

The previous Could not find io.github.libxposed:api:100 also had a similar error, but I found the warehouse file in the actions of https://github.com/libxposed/api and downloaded it to my local warehouse. I don't know how to solve the problem of io.github.libxposed:service-interface:100, hope to get your reply!

Error message: Configuration cache state could not be cached: field importDirs of task :daemon:compileDebugAidl of type com.android.build.gradle.tasks.AidlCompile: error writing value of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection'

Could not resolve all files for configuration ':daemon:debugCompileClasspath'. Could not find io.github.libxposed:service-interface:100. Required by: project :daemon

yujincheng08 commented 1 year ago

this api is not yet widely tested so its not published to maven central. You can Goolgle how to use mavenLocal instread.

XiaoYingYo commented 1 year ago

this api is not yet widely tested so its not published to maven central. You can Goolgle how to use mavenLocal instread.

Thank you, please allow me to ask another question. After compiling the current project, I found that there are two aars, namely \interface\build\outputs\aar\interface-release.aar and service-master\service\build\outputs\ aar\service-release.aar , Do these two need to be installed through mvn install:install-file?

yujincheng08 commented 1 year ago

just run the gradle task publishToMavenLocal.

XiaoYingYo commented 1 year ago

just run the gradle task publishToMavenLocal.

Great, thank you for your advice, I have been tinkering with it for a long time! Thank you very much