Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Android: build standalone app on MAC #79

Closed
francescotimperi opened this issue Jun 6, 2019 · 5 comments
Closed

Android: build standalone app on MAC #79

francescotimperi opened this issue Jun 6, 2019 · 5 comments
Assignees

Comments

@francescotimperi
Copy link

I setup turtle cli in my expo project and executed the initial setup for android build and everything seems to be fine.

When launching turtle build for android the script ends with such an error

Jun 6 18:26:26 turtle[2514] ERROR: Error: ../../tools-public/check-dynamic-macros-android.sh exited with non-zero code: 134
    at ChildProcess.completionListener (/Users/franz/npm/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)

Any idea?!

@dsokal
Copy link
Contributor

dsokal commented Jun 7, 2019

Hello @francescotimperi,

could you please remove ~/.turtle/workingdir directory and run turtle setup:android again? I guess something might have gone wrong there. Let me know if that helps.

@dsokal dsokal self-assigned this Jun 7, 2019
@francescotimperi
Copy link
Author

francescotimperi commented Jun 7, 2019

Hi @dsokal actually I purged many times my ~/.turtle/workingdir and after a while i got an error about the node version I'm using. I had installed 8.9.4, but it looks like I needed at least 8.10.0.

I update node via brew but I got version 12.0.0 for which it is not possible to install turtle successfully, as there are some compilation errors during the installation process. So I need to perform a manual node installation and repeat the setup.

@francescotimperi
Copy link
Author

After upgrading to sdk33 and turtle cli 0.8.2 I´m still facing the same issue....so i re-open the previous issue.

using node 10.16.0
yarn 1.16.0
turtle cli 0.8.2

Running build on MAC OS.

Attached a full trace of build process with final error. I removed the entire ~/.turtle but I´m always getting same error.

error_log.txt

@dsokal
Copy link
Contributor

dsokal commented Jun 12, 2019

@francescotimperi
I think it's not an issue with turtle-cli, but rather with your system.

Jun 11 19:01:52 turtle[3286] INFO:  dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib

One of the first results in google:
atomantic/dotfiles#23 (comment)

Please try doing the same and let me know if the issue goes away.

@francescotimperi
Copy link
Author

@dsokal

As suggested reinstalling gawk and readline via brew solved the problem. Thanks for having spotted the issue.

@dsokal dsokal closed this as completed Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants