Browser key, server key not automatic generated












0















i'm new to android studio and i want to use google API map in my android studio project and been follow a tutorial. the problem is, the google api only generate 1 API key and not include the auto generated key for browser key. It should generated keys picture belowit should generated all this key (my project only generated 1 key). Please help. what are the problem exactly. i already delete google API activity and create it back many times. But browser key still not automatic generated. this is my manifest `



<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="Heart Disease Symptom Checker"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".HomeActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".LoginActivity" />
<activity android:name=".ProfileActivity" />
<activity android:name=".Page1Activity" />
<activity android:name=".Page2Activity" />
<activity android:name=".Page3Activity" />
<activity android:name=".Page4Activity" />
<activity android:name=".PasswordActivity" />
<activity android:name=".MainActivity" />
<activity android:name=".TwoDActivity1" />
<activity android:name=".TwoDActivity2" />
<activity android:name=".CheckboxOtherActivity" />
<activity android:name=".HeartSymptomActivity" />
<activity android:name=".RuleBasedActivity" />
<activity android:name=".CheckboxOtherActivity2" />
<activity android:name=".GenderActivity" />
<activity android:name=".ResultDescription" />
<activity android:name=".DurationActivity" />
<activity android:name=".UpdateHomePage" />

</application>


`



and this is my app gradle



 dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support:cardview-v7:28.0.0-rc01'
implementation 'com.android.support:design:28.0.0-rc01'
implementation 'com.android.support:animated-vector-drawable:28.0.0-rc01'
implementation 'com.android.support:support-media-compat:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
implementation 'com.android.support:cardview-v7:28.0.0-rc01'

implementation 'com.android.support:customtabs:28.0.0-rc01'
implementation 'com.android.support:support-v4:28.0.0-rc01'

implementation 'com.google.android.gms:play-services-maps:15.0.1'
//implementation 'com.google.android.gms:play-services-location:15.0.1'
//implementation 'com.google.android.gms:play-services-gcm:15.0.1'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

//add this line
implementation 'com.google.firebase:firebase-auth:16.0.2'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.github.aakira:expandable-layout:1.4.2@aar'
testCompile 'junit:junit:4.12'
}


apply plugin: 'com.google.gms.google-services


'










share|improve this question























  • There is no such thing as browser key anymore. You generate and API key and apply corresponding restrictions. Have a look at official documentation developers.google.com/maps/documentation/javascript/get-api-key.

    – xomena
    Nov 20 '18 at 23:42
















0















i'm new to android studio and i want to use google API map in my android studio project and been follow a tutorial. the problem is, the google api only generate 1 API key and not include the auto generated key for browser key. It should generated keys picture belowit should generated all this key (my project only generated 1 key). Please help. what are the problem exactly. i already delete google API activity and create it back many times. But browser key still not automatic generated. this is my manifest `



<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="Heart Disease Symptom Checker"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".HomeActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".LoginActivity" />
<activity android:name=".ProfileActivity" />
<activity android:name=".Page1Activity" />
<activity android:name=".Page2Activity" />
<activity android:name=".Page3Activity" />
<activity android:name=".Page4Activity" />
<activity android:name=".PasswordActivity" />
<activity android:name=".MainActivity" />
<activity android:name=".TwoDActivity1" />
<activity android:name=".TwoDActivity2" />
<activity android:name=".CheckboxOtherActivity" />
<activity android:name=".HeartSymptomActivity" />
<activity android:name=".RuleBasedActivity" />
<activity android:name=".CheckboxOtherActivity2" />
<activity android:name=".GenderActivity" />
<activity android:name=".ResultDescription" />
<activity android:name=".DurationActivity" />
<activity android:name=".UpdateHomePage" />

</application>


`



and this is my app gradle



 dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support:cardview-v7:28.0.0-rc01'
implementation 'com.android.support:design:28.0.0-rc01'
implementation 'com.android.support:animated-vector-drawable:28.0.0-rc01'
implementation 'com.android.support:support-media-compat:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
implementation 'com.android.support:cardview-v7:28.0.0-rc01'

implementation 'com.android.support:customtabs:28.0.0-rc01'
implementation 'com.android.support:support-v4:28.0.0-rc01'

implementation 'com.google.android.gms:play-services-maps:15.0.1'
//implementation 'com.google.android.gms:play-services-location:15.0.1'
//implementation 'com.google.android.gms:play-services-gcm:15.0.1'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

//add this line
implementation 'com.google.firebase:firebase-auth:16.0.2'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.github.aakira:expandable-layout:1.4.2@aar'
testCompile 'junit:junit:4.12'
}


apply plugin: 'com.google.gms.google-services


'










share|improve this question























  • There is no such thing as browser key anymore. You generate and API key and apply corresponding restrictions. Have a look at official documentation developers.google.com/maps/documentation/javascript/get-api-key.

    – xomena
    Nov 20 '18 at 23:42














0












0








0








i'm new to android studio and i want to use google API map in my android studio project and been follow a tutorial. the problem is, the google api only generate 1 API key and not include the auto generated key for browser key. It should generated keys picture belowit should generated all this key (my project only generated 1 key). Please help. what are the problem exactly. i already delete google API activity and create it back many times. But browser key still not automatic generated. this is my manifest `



<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="Heart Disease Symptom Checker"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".HomeActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".LoginActivity" />
<activity android:name=".ProfileActivity" />
<activity android:name=".Page1Activity" />
<activity android:name=".Page2Activity" />
<activity android:name=".Page3Activity" />
<activity android:name=".Page4Activity" />
<activity android:name=".PasswordActivity" />
<activity android:name=".MainActivity" />
<activity android:name=".TwoDActivity1" />
<activity android:name=".TwoDActivity2" />
<activity android:name=".CheckboxOtherActivity" />
<activity android:name=".HeartSymptomActivity" />
<activity android:name=".RuleBasedActivity" />
<activity android:name=".CheckboxOtherActivity2" />
<activity android:name=".GenderActivity" />
<activity android:name=".ResultDescription" />
<activity android:name=".DurationActivity" />
<activity android:name=".UpdateHomePage" />

</application>


`



and this is my app gradle



 dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support:cardview-v7:28.0.0-rc01'
implementation 'com.android.support:design:28.0.0-rc01'
implementation 'com.android.support:animated-vector-drawable:28.0.0-rc01'
implementation 'com.android.support:support-media-compat:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
implementation 'com.android.support:cardview-v7:28.0.0-rc01'

implementation 'com.android.support:customtabs:28.0.0-rc01'
implementation 'com.android.support:support-v4:28.0.0-rc01'

implementation 'com.google.android.gms:play-services-maps:15.0.1'
//implementation 'com.google.android.gms:play-services-location:15.0.1'
//implementation 'com.google.android.gms:play-services-gcm:15.0.1'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

//add this line
implementation 'com.google.firebase:firebase-auth:16.0.2'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.github.aakira:expandable-layout:1.4.2@aar'
testCompile 'junit:junit:4.12'
}


apply plugin: 'com.google.gms.google-services


'










share|improve this question














i'm new to android studio and i want to use google API map in my android studio project and been follow a tutorial. the problem is, the google api only generate 1 API key and not include the auto generated key for browser key. It should generated keys picture belowit should generated all this key (my project only generated 1 key). Please help. what are the problem exactly. i already delete google API activity and create it back many times. But browser key still not automatic generated. this is my manifest `



<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="Heart Disease Symptom Checker"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".HomeActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".LoginActivity" />
<activity android:name=".ProfileActivity" />
<activity android:name=".Page1Activity" />
<activity android:name=".Page2Activity" />
<activity android:name=".Page3Activity" />
<activity android:name=".Page4Activity" />
<activity android:name=".PasswordActivity" />
<activity android:name=".MainActivity" />
<activity android:name=".TwoDActivity1" />
<activity android:name=".TwoDActivity2" />
<activity android:name=".CheckboxOtherActivity" />
<activity android:name=".HeartSymptomActivity" />
<activity android:name=".RuleBasedActivity" />
<activity android:name=".CheckboxOtherActivity2" />
<activity android:name=".GenderActivity" />
<activity android:name=".ResultDescription" />
<activity android:name=".DurationActivity" />
<activity android:name=".UpdateHomePage" />

</application>


`



and this is my app gradle



 dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support:cardview-v7:28.0.0-rc01'
implementation 'com.android.support:design:28.0.0-rc01'
implementation 'com.android.support:animated-vector-drawable:28.0.0-rc01'
implementation 'com.android.support:support-media-compat:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
implementation 'com.android.support:cardview-v7:28.0.0-rc01'

implementation 'com.android.support:customtabs:28.0.0-rc01'
implementation 'com.android.support:support-v4:28.0.0-rc01'

implementation 'com.google.android.gms:play-services-maps:15.0.1'
//implementation 'com.google.android.gms:play-services-location:15.0.1'
//implementation 'com.google.android.gms:play-services-gcm:15.0.1'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

//add this line
implementation 'com.google.firebase:firebase-auth:16.0.2'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.github.aakira:expandable-layout:1.4.2@aar'
testCompile 'junit:junit:4.12'
}


apply plugin: 'com.google.gms.google-services


'







api google-maps android-studio






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 20 '18 at 13:39









KhalidKhalid

255




255













  • There is no such thing as browser key anymore. You generate and API key and apply corresponding restrictions. Have a look at official documentation developers.google.com/maps/documentation/javascript/get-api-key.

    – xomena
    Nov 20 '18 at 23:42



















  • There is no such thing as browser key anymore. You generate and API key and apply corresponding restrictions. Have a look at official documentation developers.google.com/maps/documentation/javascript/get-api-key.

    – xomena
    Nov 20 '18 at 23:42

















There is no such thing as browser key anymore. You generate and API key and apply corresponding restrictions. Have a look at official documentation developers.google.com/maps/documentation/javascript/get-api-key.

– xomena
Nov 20 '18 at 23:42





There is no such thing as browser key anymore. You generate and API key and apply corresponding restrictions. Have a look at official documentation developers.google.com/maps/documentation/javascript/get-api-key.

– xomena
Nov 20 '18 at 23:42












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53394307%2fbrowser-key-server-key-not-automatic-generated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53394307%2fbrowser-key-server-key-not-automatic-generated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

ts Property 'filter' does not exist on type '{}'

mat-slide-toggle shouldn't change it's state when I click cancel in confirmation window