热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

UnabletocreateoutputAPKonmacOSrunningElcapitan

ItriedrunningthebinarydownloadedfromthereleasespageonmyAPKanditfailedwit

I tried running the binary downloaded from the releases page on my APK and it failed with the following error:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
./redex_macos_x86_64 debug.apk



dyld: Library not loaded: /usr/local/opt/jsoncpp/lib/libjsoncpp.11.dylib

  Referenced from: /tmp/redex.MMTKjR/redex-all

  Reason: image not found

Traceback (most recent call last):

  File "/tmp/redex.MMTKjR/redex.py", line 152, in run_pass

    subprocess.check_call(args, env=env)

  File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 291, in check_call

    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/tmp/redex.MMTKjR/redex-all', '--apkdir', '/tmp/redex.MMTKjR/tmpt_en6rkj.redex_extracted_apk', '--outdir', '/tmp/redex.MMTKjR/tmps3sxsm0y.redex_dexen', '/tmp/redex.MMTKjR/tmps3sxsm0y.redex_dexen/dex0/classes.dex', '/tmp/redex.MMTKjR/tmps3sxsm0y.redex_dexen/dex1/classes2.dex', '/tmp/redex.MMTKjR/tmps3sxsm0y.redex_dexen/dex2/classes3.dex', '/tmp/redex.MMTKjR/tmps3sxsm0y.redex_dexen/dex3/classes4.dex']' died with .



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "/tmp/redex.MMTKjR/redex.py", line 640, in

    run_redex(args)

  File "/tmp/redex.MMTKjR/redex.py", line 570, in run_redex

    debugger)

  File "/tmp/redex.MMTKjR/redex.py", line 165, in run_pass

    'by running %(lldb_script_name)s') % script_filenames)

RuntimeError: redex-all crashed with exit code -5! You can re-run it under gdb by running /tmp/redex.MMTKjR/redex-gdb-b4enj9_i.sh or under lldb by running /tmp/redex.MMTKjR/redex-lldb-zd9n6r0_.sh


I tried building this from source before I decided to use the binary. I ran into issues when I did that too:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
In file included from libredex/PluginRegistry.cpp:10:

./libredex/PluginRegistry.h:30:8: error: no type named 'vector' in namespace 'std'

  std::vector<:unique_ptr>> create_plugins() {

  ~~~~~^

./libredex/PluginRegistry.h:30:14: error: expected member name or &#039;;&#039; after declaration specifiers

  std::vector<:unique_ptr>> create_plugins() {

  ~~~~~~~~~~~^

./libredex/PluginRegistry.h:22:5: error: use of undeclared identifier &#039;m_creators&#039;; did you mean &#039;creator&#039;?

    m_creators[plugin_name] &#061; std::move(creator);

    ^~~~~~~~~~

    creator

./libredex/PluginRegistry.h:21:66: note: &#039;creator&#039; declared here

  void register_plugin(const std::string& plugin_name, Creator&& creator) {

                                                                 ^

./libredex/PluginRegistry.h:25:9: error: use of undeclared identifier &#039;m_creators&#039;

    if (m_creators.count(plugin_name)) {

        ^

./libredex/PluginRegistry.h:26:33: error: use of undeclared identifier &#039;m_creators&#039;

      return std::unique_ptr(m_creators[plugin_name]());

                                ^

5 errors generated.

make[1]: *** [libredex/PluginRegistry.lo] Error 1

make: *** [all-recursive] Error 1


该提问来源于开源项目:facebook/redex

Seems resolved. Closing


推荐阅读
  • 本文介绍了如何在Azure应用服务实例上获取.NetCore 3.0+的支持。作者分享了自己在将代码升级为使用.NET Core 3.0时遇到的问题,并提供了解决方法。文章还介绍了在部署过程中使用Kudu构建的方法,并指出了可能出现的错误。此外,还介绍了开发者应用服务计划和免费产品应用服务计划在不同地区的运行情况。最后,文章指出了当前的.NET SDK不支持目标为.NET Core 3.0的问题,并提供了解决方案。 ... [详细]
  • 在Docker中,将主机目录挂载到容器中作为volume使用时,常常会遇到文件权限问题。这是因为容器内外的UID不同所导致的。本文介绍了解决这个问题的方法,包括使用gosu和suexec工具以及在Dockerfile中配置volume的权限。通过这些方法,可以避免在使用Docker时出现无写权限的情况。 ... [详细]
  • 本文介绍了设计师伊振华受邀参与沈阳市智慧城市运行管理中心项目的整体设计,并以数字赋能和创新驱动高质量发展的理念,建设了集成、智慧、高效的一体化城市综合管理平台,促进了城市的数字化转型。该中心被称为当代城市的智能心脏,为沈阳市的智慧城市建设做出了重要贡献。 ... [详细]
  • Commit1ced2a7433ea8937a1b260ea65d708f32ca7c95eintroduceda+Clonetraitboundtom ... [详细]
  • Android Studio Bumblebee | 2021.1.1(大黄蜂版本使用介绍)
    本文介绍了Android Studio Bumblebee | 2021.1.1(大黄蜂版本)的使用方法和相关知识,包括Gradle的介绍、设备管理器的配置、无线调试、新版本问题等内容。同时还提供了更新版本的下载地址和启动页面截图。 ... [详细]
  • 自动轮播,反转播放的ViewPagerAdapter的使用方法和效果展示
    本文介绍了如何使用自动轮播、反转播放的ViewPagerAdapter,并展示了其效果。该ViewPagerAdapter支持无限循环、触摸暂停、切换缩放等功能。同时提供了使用GIF.gif的示例和github地址。通过LoopFragmentPagerAdapter类的getActualCount、getActualItem和getActualPagerTitle方法可以实现自定义的循环效果和标题展示。 ... [详细]
  • 本文介绍了在Mac上配置环境变量,实现Python3的命令行调用的步骤。首先通过官网下载或使用brew安装Python3,并找到安装路径。然后将该路径添加到环境变量中,可以通过编辑.bash_profile文件或执行source命令来实现。配置完成后,即可在命令行中直接调用Python3。 ... [详细]
  • 树莓派语音控制的配置方法和步骤
    本文介绍了在树莓派上实现语音控制的配置方法和步骤。首先感谢博主Eoman的帮助,文章参考了他的内容。树莓派的配置需要通过sudo raspi-config进行,然后使用Eoman的控制方法,即安装wiringPi库并编写控制引脚的脚本。具体的安装步骤和脚本编写方法在文章中详细介绍。 ... [详细]
  • Whatsthedifferencebetweento_aandto_ary?to_a和to_ary有什么区别? ... [详细]
  • python3 nmap函数简介及使用方法
    本文介绍了python3 nmap函数的简介及使用方法,python-nmap是一个使用nmap进行端口扫描的python库,它可以生成nmap扫描报告,并帮助系统管理员进行自动化扫描任务和生成报告。同时,它也支持nmap脚本输出。文章详细介绍了python-nmap的几个py文件的功能和用途,包括__init__.py、nmap.py和test.py。__init__.py主要导入基本信息,nmap.py用于调用nmap的功能进行扫描,test.py用于测试是否可以利用nmap的扫描功能。 ... [详细]
  • 本文介绍了在Android Studio中使用命令行build gradle的方法,并解决了一些常见问题,包括手动配置gradle环境变量和解决External Native Build Issues的方法。同时提供了相关参考文章链接。 ... [详细]
  • 云原生应用最佳开发实践之十二原则(12factor)
    目录简介一、基准代码二、依赖三、配置四、后端配置五、构建、发布、运行六、进程七、端口绑定八、并发九、易处理十、开发与线上环境等价十一、日志十二、进程管理当 ... [详细]
  • 第2讲 Android Camera Native Framework 初识cameraserver进程
    本讲是AndroidCameraNativeFramework专题的第2讲,我们初识CameraServer,包括如下内容:Camera ... [详细]
  • 向QTextEdit拖放文件的方法及实现步骤
    本文介绍了在使用QTextEdit时如何实现拖放文件的功能,包括相关的方法和实现步骤。通过重写dragEnterEvent和dropEvent函数,并结合QMimeData和QUrl等类,可以轻松实现向QTextEdit拖放文件的功能。详细的代码实现和说明可以参考本文提供的示例代码。 ... [详细]
  • 本文介绍了一个适用于PHP应用快速接入TRX和TRC20数字资产的开发包,该开发包支持使用自有Tron区块链节点的应用场景,也支持基于Tron官方公共API服务的轻量级部署场景。提供的功能包括生成地址、验证地址、查询余额、交易转账、查询最新区块和查询交易信息等。详细信息可参考tron-php的Github地址:https://github.com/Fenguoz/tron-php。 ... [详细]
author-avatar
雅丽猫儿
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有