Val*_*ery 4 gstreamer android-studio android-gradle-plugin gradle-plugin
使用新的 android gradle 插件更新到 Android Studio 3.0.0。虽然内置项目收到消息:
What went wrong:
Execution failed for task `':app:externalNativeBuildDebug'`.
Expected output file at `gst-build-arm64-v8a/libgstreamer_android.so` for target `gstreamer_android` but there was none
但libgstreamer_android.so库文件已经存在。对于本机代码,我使用 ndk-build。有人有这个问题吗?
添加到我们的 android 模块字段目标的 build.gradle 文件中。
android { 
  defaultConfig { 
    externalNativeBuild { 
      ndkBuild { 
        targets "name_of_native_module_in_android_mk_file" 
      } 
  ... 
}
不要添加gstreamer_android。
| 归档时间: | 
 | 
| 查看次数: | 1563 次 | 
| 最近记录: |