jjzjj

android - 无法加载库 : dlopen failed: library "libboost.so" not found

coder 2023-07-22 原文

我在我的设备中运行了 flutter 的示例代码。 我得到一个日志:

2019-03-28 10:07:18.105 6794-6819/com.example.ijkplayer_example E/FPS-BOOST: notifyQueue load error
2019-03-28 10:07:18.322 6794-6819/com.example.ijkplayer_example I/chatty: uid=10481(com.example.ijkplayer_example) Thread-4 identical 12 lines
2019-03-28 10:07:18.341 6794-6819/com.example.ijkplayer_example E/FPS-BOOST: notifyQueue load error
2019-03-28 10:07:18.365 6794-6819/com.example.ijkplayer_example E/FPS-BOOST: notifyQueue load error
2019-03-28 10:07:18.377 6794-6819/com.example.ijkplayer_example I/chatty: uid=10481(com.example.ijkplayer_example) Thread-4 identical 1 line
2019-03-28 10:07:18.397 6794-6819/com.example.ijkplayer_example E/FPS-BOOST: notifyQueue load error
2019-03-28 10:07:18.409 6794-6819/com.example.ijkplayer_example E/FPS-BOOST: notifyQueue load error
2019-03-28 10:07:18.417 6794-6819/com.example.ijkplayer_example E/FPS-BOOST: notifyQueue load error
2019-03-28 10:07:18.434 6794-6819/com.example.ijkplayer_example E/FPS-BOOST: notifyQueue load error
2019-03-28 10:07:18.735 6794-6819/com.example.ijkplayer_example I/chatty: uid=10481(com.example.ijkplayer_example) Thread-4 identical 17 lines
2019-03-28 10:07:18.739 6794-6819/com.example.ijkplayer_example E/FPS-BOOST: notifyQueue load error

在这个日志出现之前,会有一个:

Can't load library: dlopen failed: library "libboost.so" not found.

但是我没有在我的代码中使用这个库。我找了 flutter 代码,flutter 框架和引擎,也没找到。

flutter create example_code
cd example code
flutter run

最佳答案

尝试在您的app 文件夹build.gradle 文件defaultConfig 部分添加ndk 配置。 这可能对您有所帮助。

 defaultConfig {
        applicationId "com.ex"
        minSdkVersion 19
        targetSdkVersion 28
        ndk {
            // abiFilters "armeabi-v7a"
            abiFilters "armeabi", "x86", "armeabi-v7a"
           // abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
        }
    }

关于android - 无法加载库 : dlopen failed: library "libboost.so" not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55389241/

有关android - 无法加载库 : dlopen failed: library "libboost.so" not found的更多相关文章

  1. ruby-on-rails - rails : "missing partial" when calling 'render' in RSpec test - 2

    我正在尝试测试是否存在表单。我是Rails新手。我的new.html.erb_spec.rb文件的内容是:require'spec_helper'describe"messages/new.html.erb"doit"shouldrendertheform"dorender'/messages/new.html.erb'reponse.shouldhave_form_putting_to(@message)with_submit_buttonendendView本身,new.html.erb,有代码:当我运行rspec时,它失败了:1)messages/new.html.erbshou

  2. ruby-on-rails - 由于 "wkhtmltopdf",PDFKIT 显然无法正常工作 - 2

    我在从html页面生成PDF时遇到问题。我正在使用PDFkit。在安装它的过程中,我注意到我需要wkhtmltopdf。所以我也安装了它。我做了PDFkit的文档所说的一切......现在我在尝试加载PDF时遇到了这个错误。这里是错误:commandfailed:"/usr/local/bin/wkhtmltopdf""--margin-right""0.75in""--page-size""Letter""--margin-top""0.75in""--margin-bottom""0.75in""--encoding""UTF-8""--margin-left""0.75in""-

  3. ruby - 检查 "command"的输出应该包含 NilClass 的意外崩溃 - 2

    为了将Cucumber用于命令行脚本,我按照提供的说明安装了arubagem。它在我的Gemfile中,我可以验证是否安装了正确的版本并且我已经包含了require'aruba/cucumber'在'features/env.rb'中为了确保它能正常工作,我写了以下场景:@announceScenario:Testingcucumber/arubaGivenablankslateThentheoutputfrom"ls-la"shouldcontain"drw"假设事情应该失败。它确实失败了,但失败的原因是错误的:@announceScenario:Testingcucumber/ar

  4. ruby-on-rails - 无法使用 Rails 3.2 创建插件? - 2

    我对最新版本的Rails有疑问。我创建了一个新应用程序(railsnewMyProject),但我没有脚本/生成,只有脚本/rails,当我输入ruby./script/railsgeneratepluginmy_plugin"Couldnotfindgeneratorplugin.".你知道如何生成插件模板吗?没有这个命令可以创建插件吗?PS:我正在使用Rails3.2.1和ruby​​1.8.7[universal-darwin11.0] 最佳答案 随着Rails3.2.0的发布,插件生成器已经被移除。查看变更日志here.现在

  5. ruby - 无法运行 Rails 2.x 应用程序 - 2

    我尝试运行2.x应用程序。我使用rvm并为此应用程序设置其他版本的ruby​​:$rvmuseree-1.8.7-head我尝试运行服务器,然后出现很多错误:$script/serverNOTE:Gem.source_indexisdeprecated,useSpecification.Itwillberemovedonorafter2011-11-01.Gem.source_indexcalledfrom/Users/serg/rails_projects_terminal/work_proj/spohelp/config/../vendor/rails/railties/lib/r

  6. ruby - 如何在续集中重新加载表模式? - 2

    鉴于我有以下迁移:Sequel.migrationdoupdoalter_table:usersdoadd_column:is_admin,:default=>falseend#SequelrunsaDESCRIBEtablestatement,whenthemodelisloaded.#Atthispoint,itdoesnotknowthatusershaveais_adminflag.#Soitfails.@user=User.find(:email=>"admin@fancy-startup.example")@user.is_admin=true@user.save!ende

  7. ruby-on-rails - 无法在centos上安装therubyracer(V8和GCC出错) - 2

    我正在尝试在我的centos服务器上安装therubyracer,但遇到了麻烦。$geminstalltherubyracerBuildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingtherubyracer:ERROR:Failedtobuildgemnativeextension./usr/local/rvm/rubies/ruby-1.9.3-p125/bin/rubyextconf.rbcheckingformain()in-lpthread...yescheckingforv8.h...no***e

  8. ruby - 无法让 RSpec 工作—— 'require' : cannot load such file - 2

    我花了三天的时间用头撞墙,试图弄清楚为什么简单的“rake”不能通过我的规范文件。如果您遇到这种情况:任何文件夹路径中都不要有空格!。严重地。事实上,从现在开始,您命名的任何内容都没有空格。这是我的控制台输出:(在/Users/*****/Desktop/LearningRuby/learn_ruby)$rake/Users/*******/Desktop/LearningRuby/learn_ruby/00_hello/hello_spec.rb:116:in`require':cannotloadsuchfile--hello(LoadError) 最佳

  9. ruby-on-rails - 迷你测试错误 : "NameError: uninitialized constant" - 2

    我遵循MichaelHartl的“RubyonRails教程:学习Web开发”,并创建了检查用户名和电子邮件长度有效性的测试(名称最多50个字符,电子邮件最多255个字符)。test/helpers/application_helper_test.rb的内容是:require'test_helper'classApplicationHelperTest在运行bundleexecraketest时,所有测试都通过了,但我看到以下消息在最后被标记为错误:ERROR["test_full_title_helper",ApplicationHelperTest,1.820016791]test

  10. ruby - RuntimeError(自动加载常量 Apps 多线程时检测到循环依赖 - 2

    我收到这个错误:RuntimeError(自动加载常量Apps时检测到循环依赖当我使用多线程时。下面是我的代码。为什么会这样?我尝试多线程的原因是因为我正在编写一个HTML抓取应用程序。对Nokogiri::HTML(open())的调用是一个同步阻塞调用,需要1秒才能返回,我有100,000多个页面要访问,所以我试图运行多个线程来解决这个问题。有更好的方法吗?classToolsController0)app.website=array.join(',')putsapp.websiteelseapp.website="NONE"endapp.saveapps=Apps.order("

随机推荐