Giter Site home page Giter Site logo

sign_apk broken with Fastlane 2.68.2: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1: command not found about fastlane-android-example HOT 7 CLOSED

appfoundry avatar appfoundry commented on July 30, 2024
sign_apk broken with Fastlane 2.68.2: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1: command not found

from fastlane-android-example.

Comments (7)

monday8am avatar monday8am commented on July 30, 2024 5

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.

opetrovskyi avatar opetrovskyi commented on July 30, 2024 2

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.

flatsteve avatar flatsteve commented on July 30, 2024 1

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.

bartvandeweerdt avatar bartvandeweerdt commented on July 30, 2024 1

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.

opetrovskyi avatar opetrovskyi commented on July 30, 2024

+1

seems like cmd command is not executed in one line and .shellescape do not do the trick.

from fastlane-android-example.

egr-ext avatar egr-ext commented on July 30, 2024

Thaks a lot, do we create a Pull Request ?

from fastlane-android-example.

jaranflaath avatar jaranflaath commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.