EasyAR在高版本Studio下 运行报错的解决方法如下
参考资料
Style.xml
<style name="AppTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"></style>
<style name="AppTheme" parent="AppTheme.Base"/>
APP Gradle
repositories {
libs(PrebuiltLibraries){
prebuilt{
headers.srcDir "../../../package/include"
binaries.withType(SharedLibraryBinary){
sharedLibraryFile = file("../../../package/Android/libs/armeabi-v7a/libEasyAR.so")
}
}
}
}
android.sources {
main {
jni {
dependencies {
library "prebuilt"
}
}
}
}