allenymt / PrivacySentry

Android隐私合规整改检测工具,注解+Asm修改字节码的检测方案
MIT License
2.05k stars 262 forks source link

导入报错 #57

Closed levistopfun closed 1 year ago

levistopfun commented 2 years ago

A problem occurred configuring root project 'proj.android-studio'.

Could not resolve all artifacts for configuration ':classpath'. Could not find com.github.allenymt.PrivacySentry:plugin-sentry:1.0.9. Searched in the following locations:

不好意思,对Android不是很熟,按照提示导入,会报这个错误,不知道是不是应为库下载不下来,求教一下大佬

allenymt commented 2 years ago
  1. 在根目录的build.gralde下添加 allprojects { repositories { ... maven { url 'https://jitpack.io' } } }

    buildscript { dependencies { // 添加插件依赖 classpath 'com.github.allenymt.PrivacySentry:plugin-sentry:1.0.9' } }

wustzhy commented 2 years ago

PrivacySentry 集成文档 少写了一步。。。

还 需要在 在根目录的build.gralde文件 buildscript { repositories {下 添加 maven { url 'https://jitpack.io' }