SideKick Android certificate

Thread is closed for posting
11 posts, 0 answers
  1. Dimitar
    Dimitar avatar
    66 posts
    Member since:
    May 2014

    Posted 06 Nov 2017 Link to this post

    Hi ,

    I am trying to build with SideKick and upload to android market   . But the error which I receive is on upload in the market is 

    You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR (Jar signer CERT.RSA): No APK Signature Scheme v2 signature from this signer ERROR (APK Signature Scheme v2 signer #0): No JAR signature from this signer
  2. Dimitar
    Dimitar avatar
    66 posts
    Member since:
    May 2014

    Posted 06 Nov 2017 Link to this post

    Fixed using the recommendations from 

    https://docs.nativescript.org/publishing/publishing-android-apps#certificates

  3. Nikolay Tsonev
    Admin
    Nikolay Tsonev avatar
    340 posts

    Posted 07 Nov 2017 Link to this post

    Hello Dimitar,

    I am glad to hear that the problem with the application upload is resolved.

    Let me know if I could assists you further.

    Regards,
    nikolay.tsonev
    Progress Telerik
    Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
  4. Matt
    Matt avatar
    4 posts
    Member since:
    Jan 2018

    Posted 17 Jan Link to this post

    Hello,

    I am facing the exact same error, whereas I have already successfully released previous version of my app before.
    I am sure that my relase key is the right one, because this is the one that I used to publish previous version.

    I don't know why, but now when I run "tns build android --release --key-store-path my-release-key.jks --key-store-password myPassword --key-store-alias myAlias --key-store-alias-password myPassword" and then upload the generated apk, Google is throwing me this error.

    Do you have any idea why ?

    Regards,
    Matt

  5. Dimitar
    Dimitar avatar
    66 posts
    Member since:
    May 2014

    Posted 17 Jan in reply to Matt Link to this post

    Hi Matt , for regrets I can't remember what I have done to fix the issue. I think I have created a new package name and changed the app id name an all places where its exist . 
  6. Matt
    Matt avatar
    4 posts
    Member since:
    Jan 2018

    Posted 17 Jan in reply to Dimitar Link to this post

    Hi Dimitar, thus I guess you had to create a new application on the Google Play after that, as you created a new app id ?
  7. Nikolay Tsonev
    Admin
    Nikolay Tsonev avatar
    340 posts

    Posted 17 Jan Link to this post

    Hello Matt,

    Thank you for contacting us, 

    We reviewed your comment, however, was unable to recreate this behavior while using latest NativeScript CLI 3.4. Could you provide again the exact error, which is returned from Google as well as some more info about your environment(CLI, modules, runtime versions)?

    In the meantime, I would suggest trying generating a new certificate and to try signing the app again.

    Also, could you provide info if the suggestion provided by Dimitar resolves the case?

    Let me know if I could assist you further.
    Regards,
    nikolay.tsonev
    Progress Telerik
    Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
  8. Matt
    Matt avatar
    4 posts
    Member since:
    Jan 2018

    Posted 17 Jan in reply to Nikolay Tsonev Link to this post

    Wow that is weird, this morning i tried to set up webpack on my project, because I am having lot of pain to get my project working with WebPack. So I changed some settings in my files, especially the application name and the activity name in the android manifest, and also the packages version in package.json. Now I just tried to rebuild my app for release, and this is correctly signed, so I don't know what was the point, but that's working now !
    Unfortunately I am still unable to run my app with webpack option such as uglify or bundle.

    I know that is not the topic of this discussion, and I have also opened an issue about this on github, but if you have some indications to help me to get webpack builds working, I will appreciate this !

     

     

  9. Nikolay Tsonev
    Admin
    Nikolay Tsonev avatar
    340 posts

    Posted 17 Jan Link to this post

    Hello Matt,

    If I understand you correctly in your current project version you could build and deploy it while using the run command, however, you are facing a problem with build while webpack and uglify option is used.

    We tested this case with our nativescript-sdk-examples-ng sample project, however, was unable to recreate an issue. Regarding that, please provide more info about your environment(CLI, modules, runtime versions) and the exact steps, which you are using while building the app with webpack.

    It will also help if you send us your project, which will allow us to investigate, what is causing this problem.
     
    Regards,
    nikolay.tsonev
    Progress Telerik
    Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
  10. Matt
    Matt avatar
    4 posts
    Member since:
    Jan 2018

    Posted 18 Jan in reply to Nikolay Tsonev Link to this post

    Thanks for your support, just solved my issue on github !

    Regards,

    Matt

  11. Nikolay Tsonev
    Admin
    Nikolay Tsonev avatar
    340 posts

    Posted 29 Jan Link to this post

    Hello Matt,


    I would like to let you know that we are closing UI for NativeScript Forum section in Telerik Admin in favor of NativeScript forum
    Since UI for NativeScript is free for using we consider that the best place for discussions and for questions will be the official NativeScript forum.

    Thank you in advance for cooperation.

    Regards,
    nikolay.tsonev
    Progress Telerik
    Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Back to Top