Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

how to generate keystore for andriod with google maps in titanium?

$
0
0

I'm trying to generate a valid keystore for my application with the signature algorithm: SH1withRSA.

I have generated an API key with SHA1 from the keystore that was generated previously and set tiapp.xml to use Google maps v2:

<manifest android:versionCode="10" android:versionName="1.0"> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> <uses-permission android:name="android.permission.CALL_PHONE" /> <uses-permission android:name="com.vivelabbogota.idutest.permission.MAPS_RECEIVE"/> <uses-feature android:glEsVersion="0x00020000" android:required="true"/> <permission android:name="com.vivelabbogota.idutest.permission.MAPS_RECEIVE" android:protectionLevel="signature"/> <application android:debuggable="false">
<meta-data android:name="com.google.android.geo.API_KEY" android:value="AIzaSyBtJKvPPfpbioLqKVz213JOYDxOpoHCriE"/> <uses-library android:required="true" android:name="com.google.android.maps"/> </application> <application android:theme="@style/Theme.NoActionBar"/> <!-- Need to specify at least API level 11 for Titanium SDK 3.2.x and prior --> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="16"/> </manifest>

Later, I built a signed apk with the keystore, but when I install this apk the map does't load (only shows a grid). In the other hand if I sign the apk with default Titanium keystore, which is signed with MD5withRSA, the map loads.

Can you help me with this?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>