Software Archive
Read-only legacy content

BUILD issue and signing

Subramaniyam_G_
Beginner
1,368 Views

 I use XDK2548 for app development, on  my desktop which is Ubuntu 14.04.

 

1)After developing and testing my Android app, (which uses google Maps api key), I had built the Apk with "signed" Build setting, and uploaded the apk file. ( did not jarsign and zipalign too ). The app got published fine, except that the map was not showing up.  

2) After googling several forums, I understood that I need to keep "unsigned" in Build setting, then jarsign the apk with keystore and zip align to upload the apk.

3) I then  marked as another version and did the above as in (2)...... Now I am prompted that 2 certificates are signed and that I need to match with the original.

How do I overcome this issue ? My app is in Production but not showing up the Map.

 

 


 

0 Kudos
7 Replies
Amrita_C_Intel
Employee
1,368 Views

Hello,

Can you please try updating the XDk Version to 2673.

0 Kudos
Amrita_C_Intel
Employee
1,368 Views

And if you are testing on Android device. You have to manually switch on the permission.

0 Kudos
Subramaniyam_G_
Beginner
1,368 Views

 

 1)  Yes, I did upgrade to 2673 now.   Did a Build again in "unsigned" status, then jarsigned with my keystore, zipaligned the APK and uploaded to playstore.  Result :   same as before......   Certificate identities do not match;

 2)  I also tried  with "signed" status ( not jarsigning , and not zip aligning), and uploaded the APK.   It got published but the issue of Map not showing not resolved as before.

    I infer that the "signed" certificate is the First upload to production with which subsequent versions are validated with.  Since the "signed" one is not of mine but of XDK's,   and while the API android key is of mine, Google playstore is not allowing Map showup.   I am not sure, anyway.

 3)..   So I  unpublished this App, and created a new App, and signed with my own credentials.  Still the map is not showing up.  The App Name is  ezFindich

 4)   My Android location permission is on in my device  and 2 other apps which use Google maps , do showup.

    So still my one leg is outside the Playstore Production App.  

   Where I am going wrong ? 

 

Thanks

 

 

 

 

 

 

 

 

 

 

 

 

0 Kudos
Subramaniyam_G_
Beginner
1,368 Views

 

   The App name is      ezFind

0 Kudos
PaulF_IntelCorp
Employee
1,368 Views

Subramaniyam -- if the first version of the app you uploaded was signed by the XDK, then that is the signature you have to use on all subsequent submissions to the store. You can retrieve the XDK signing certificate associated with your account by following this FAQ: https://software.intel.com/en-us/xdk/faqs/general#keystore

0 Kudos
Subramaniyam_G_
Beginner
1,368 Views

yes....thatz the learning I got.   Anyway, with that XDK certificate the issue didnt get resolved.

So I unpublished the App.  Then created a new app.

Built this one without signing, then jarsigned with my certificate, and zipaligned and uploaded.

The issue  got resolved like this :

                       a)   I removed the android keyvalue from the Code.

                       b)   I included GeoLocation Plugin of Cordova.

This had done the trick now.   Map shows up, using HTML5 geolocation properties.

Thanks to all who lent their view here.

 

 

 

  

 

 

0 Kudos
Reply