该项目是一个由服务器,mysql数据库,客户端组成。以下是报错内容:Execution failed for task ':compileDebugRenderscript'.
> Could not resolve all files for configuration ':debugCompileClasspath'.
> Cannot resolve external dependency com.android.support:appcompat-v7:23.0.0 because no repositories are defined.
15-20行中,表示的是该项目需要依赖的其他包,而compile这个方法已经被弃用了,现在一般用
implementation
感谢回答。改了之后警告没了。但是那个错误还是原来的错误
依赖写错位置了
appcompat-v7:23.0.0 这个要写到module配置gradle里
你这个写在项目gradle了,找个会Android的改下