最近使用 android studio 编译最新的vlc, 直接将vlc-android 从linux取下, 发现各种问题, 首先提示 “com.android.tools” can't find, 什么, 这是你只需file 》project struct setting 》project 把 gradle 和 plugin 前两个加上
, 然后sycn, 会自动下载, 并把gradle加上相应内容, https://developer.android.com/studio/releases/gradle-plugin.html?hl=zh-cn#updating-gradle, 这是 gradle 对应的版本, 要对上才好使
![](https://img-my.csdn.net/uploads/201712/25/1514184571_4096.png)