Giter Site home page Giter Site logo

Comments (6)

cruzach avatar cruzach commented on August 24, 2024 1

Update for you @zaytrix- we're looking into this internally, thanks so much for bringing it to our attention 😊

I'll post any updates/info here as they come along

from turtle.

dsokal avatar dsokal commented on August 24, 2024 1

Hello @zaytrix,
thanks for reporting. Unfortunately, there is nothing we can do about it. This is how jarsigner works and we're not going to change the way we sign .apk files for SDK 31 (this is the version you're using). It was changed in SDK 32 and we don't use jarsigner there.
You have two options here: you can either change the alias in your keystore or upgrade your project to SDK 32.

from turtle.

zaytri avatar zaytri commented on August 24, 2024

I did some testing with jarsigner, I couldn't get it to accept an alias with a leading "-" at all. I was finally able to sign the app, I took the apk that Expo generated and manually signed it using zipalign then apksigner, and thankfully apksigner accepts an alias surrounded by quotes: "-myAlias".

zipalign -v -p 4 my-app-generated-by-expo-signed.apk my-app-unsigned-aligned.apk
apksigner sign --ks my-release-key.jks --ks-key-alias "-myAlias" --out my-app-release.apk my-app-unsigned-aligned.apk

It's inconvenient but it works.

from turtle.

cruzach avatar cruzach commented on August 24, 2024

Hi @zaytrix!

I'm looking into this (glad you found a workaround in the meantime), but could you either share more of the build logs or send me your build id so I can take a look at them?

Thanks!
Charlie

from turtle.

zaytri avatar zaytri commented on August 24, 2024

Here's my build id: afef4c23-dc1c-4cbc-991f-ccbb4f92a6d8
(I assume it's the one in the url when viewing the build)

Thanks for your help @cruzach!

from turtle.

zaytri avatar zaytri commented on August 24, 2024

I've upgraded my project to SDK 33 and I can confirm that it works!

from turtle.

Related Issues (20)

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.