因为android studio3.0之后,build.gradle中的关键字compile改为implementation 如果项目中有没改过来的会发生警告,但是程序依然能够运行, 不过这个警告会在2018年底移除。