android - Maps API release key not working -



android - Maps API release key not working -

i finished first app uses maps api , maps fragment. works fine debugging decided create signed apk. signed apk work maps api need new key. here how tried it:

1) generate signed apk

2) create new keystore file ending .jks

3) apk succesfully created (this apk doesn't contain new key yet)

configuration on demand incubating feature. :app:prebuild :app:prereleasebuild :app:checkreleasemanifest :app:predebugbuild :app:preparecomandroidsupportappcompatv72100library up-to-date :app:preparecomandroidsupportsupportv42100library up-to-date :app:preparecomgoogleandroidgmsplayservices6171library up-to-date :app:preparereleasedependencies :app:compilereleaseaidl :app:compilereleaserenderscript :app:generatereleasebuildconfig :app:generatereleaseassets up-to-date :app:mergereleaseassets :app:generatereleaseresvalues up-to-date :app:generatereleaseresources :app:mergereleaseresources :app:processreleasemanifest :app:processreleaseresources :app:generatereleasesources :app:compilereleasejava :app:lintvitalrelease :app:compilereleasendk :app:predexrelease :app:dexrelease :app:processreleasejavares up-to-date :app:validateexternaloverridesigning :app:packagerelease :app:zipalignrelease :app:assemblerelease build successful total time: 1 mins 57.752 secs

4) utilize keytool , receive sha1 .jks keystore file

5) go api website , generate new key same project 1 entered debug key

6) key

6.1)odd, says "key android applications" not "key android applications (with certificate)" written in documentation maps api

7) set new key field debug key used sit

8) 1 time 1 time again generate signed apk (with entering password keystore , alias)

8.1) same log output, no abnormalities

9) install apk on device

10) map tiles don't load

i have read documentation 1 time again , again, can't find doing mistake

any help appreciated

you need set sha1 keystore the list of allowed apps project in api console.

from google apis console webpage select project in drop downwards menu. click api access. there, should button says "edit allowed android apps." click that, , you'll see instructions on do.

android api google-maps maps keytool

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -