- 具体错误
D:\Nanjing-SVN\UVCCamera-master\libuvccamera\src\main\java\com\serenegiant\common\BaseActivity.java:34: 错误: 程序包android.support.v7.app不存在 import android.support.v7.app.AppCompatActivity; ^
- 解决办法
build.gradel中增加两句:
androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'