Comments (7)
I'm not an expert in Ruby or Fastlane internals. In this case, seems to be that this command changed and it doesn't accept string arrays. Just change this line to:
Fastlane::Actions.sh(sign_cmd.join(" "), log: true)
and it will work again (at least for me :) )
from fastlane-android-example.
I'm not a ruby guy at all but found exactly the same solution.
Fastlane::Actions.sh( sign_cmd.join(' '), log: true)
from fastlane-android-example.
Just a heads up, the zipalign
action needs similar alterations (thanks to @monday8am for the original fix!):
zipalign.rb
Line 15: Fastlane::Actions.sh(rename_command.join(" "), log: false)
Line 18: Fastlane::Actions.sh(aligncmd.join(" "), log: true)
from fastlane-android-example.
Hi everyone! We've noticed the activity here and would like you to know we'll be picking this up asap. Thanks for your input. Much appreciated!
from fastlane-android-example.
+1
seems like cmd command is not executed in one line and .shellescape do not do the trick.
from fastlane-android-example.
Thaks a lot, do we create a Pull Request ?
from fastlane-android-example.
The solutions outlined fixed the error "wrong first argument" which I got from both sign_apk and zipalign when using fastlane 2.69 and newer.
from fastlane-android-example.
Related Issues (11)
- Submit actions to the Fastlane repository HOT 7
- jarsigner is broken HOT 1
- Wrapping the alias command in single quotes breaks on windows HOT 1
- Zipalign missing file issue HOT 2
- zipalign fastlane finished with errors HOT 1
- License? HOT 1
- Zipalign conflict HOT 2
- zipalign does not zipalign all platform apks(splits apks) HOT 1
- Convert actions to Fastlane plugins HOT 2
- Couldn't find '*release-unsigned.apk' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane-android-example.