Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zipalign conflict #6

Closed
mkiisoft opened this issue Apr 4, 2017 · 2 comments
Closed

Zipalign conflict #6

mkiisoft opened this issue Apr 4, 2017 · 2 comments

Comments

@mkiisoft
Copy link

mkiisoft commented Apr 4, 2017

Hello guys! I'm getting the following error with zipalign. When running fastlane action zipalign it shows me the correct data and that can be located but when I run my fastlane to compile, this is what I get:

```| 💥   | zipalign                            | 0           |
+------+-------------------------------------+-------------+

[13:32:34]: fastlane finished with errors

[13:32:34]: Error accessing file, this might be due to fastlane's directory handling
[13:32:34]: Check out https://docs.fastlane.tools/advanced/#directory-behavior for more details

/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.25.0/fastlane/lib/fastlane/helper/sh_helper.rb:36:in `popen': No such file or directory - zipalign (Errno::ENOENT) ```

My Fastlane file and actions folder looks exactly the same as yours.

My bash.profile also looks good getting access to the zipalign binary from google apis:

export ANDROID_HOME=/Users/{user}/Library/Android/sdk/
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
export ANDROID_BUILD_TOOLS=$ANDROID_HOME/build-tools/22.0.1/:$PATH
@blazmag
Copy link

blazmag commented May 21, 2017

Had the same error. Adding zipalign to PATH helped resolve the issue although I see you're already doing that. Doublecheck if you can run zipalign from terminal ?

@bartvandeweerdt
Copy link
Contributor

Thanks for your interest in our Fastlane Android example. However, due to a change of direction in how we decided to include Android in our Fastlane setup we are no longer maintaining this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants