Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Build failed: Failed to sign the APK
Started by trojcak.t May 31 2019 02:33 AM

2 replies to this topic
build fail apk sign

Best Answer trojcak.t , 31 May 2019 - 09:11 AM

So I finally managed to get it signed. The keystore needs to be generated using cmd and keytool. To get working the cmd and keytool, the java sdk path needs to be added to windows system settings, as somebody here posted video about it. When I used android studio, to generate the keystore, corona was not able to sign the app.

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

trojcak.t

[GLOBAL: userInfoPane.html]
trojcak.t
  • Observer

  • 2 posts
  • Corona SDK

Hi, I'm trying to sing apk, to publish it on google play.

The build is ending with error:

Failed to sign the APK

I've generated jks keystore in adroid studio

 

 

Attached Files



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,684 posts
  • Enterprise

What happens if you try to build one of our sample apps?

Can you build with a debug keystore?

 

Most people build their keystores using the command line tool: keytool.exe I don't know how keystores built in Android Studio work.

 

It could be a case where we are expecting the keystore format in a certain way, certain encryption, etc. And your keystore might be set up in a way that we can't use.

 

Rob



[TOPIC: post.html]
#3

trojcak.t

[GLOBAL: userInfoPane.html]
trojcak.t
  • Observer

  • 2 posts
  • Corona SDK

  Best Answer

So I finally managed to get it signed. The keystore needs to be generated using cmd and keytool. To get working the cmd and keytool, the java sdk path needs to be added to windows system settings, as somebody here posted video about it. When I used android studio, to generate the keystore, corona was not able to sign the app.


[topic_controls]
[/topic_controls]