googlearchive / android-play-places

Deprecated:
https://github.com/googlemaps/android-places-demos
Apache License 2.0
477 stars 580 forks source link

regarding to error in places api #26

Closed AnkurTomarTomar closed 5 years ago

AnkurTomarTomar commented 8 years ago

Error contacting api : status{status code = PLACES_API_KEY_INVALID , resolution = null}

i have inserted the same package name as declared in manifests file and enable the enable the google places api as well. But still I am getting the same error. please help me to resolve it.

sagar15795 commented 8 years ago

I am getting the same error. Is there any solution ??

JitendraNandiya commented 8 years ago

Also I am suffering from same problem.....Please give me the solution. I am using right API_KEY.....

sagar15795 commented 8 years ago

use

 <meta-data
                android:name="com.google.android.geo.API_KEY"
                android:value="@string/google_maps_key" />

this in place of

 <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
             android:value="@string/google_maps_key" />

I was getting the error because of it .

JitendraNandiya commented 8 years ago

Hello Sagar,

My error is resolved with this solution....Thanks very much.

On Fri, Jul 29, 2016 at 10:32 PM, Sagar notifications@github.com wrote:

use

<meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" />

this in place of

<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="@string/google_maps_key" />

I am getting the error because of it .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/googlesamples/android-play-places/issues/26#issuecomment-236235711, or mute the thread https://github.com/notifications/unsubscribe-auth/AOWhXRfXlCQ9bSCyRJ30iO5g5OcNfPQ9ks5qajIagaJpZM4GngzS .

Thanks & Regards Jitendra Nandiya Hiteshi Technologies

JitendraNandiya commented 8 years ago

Hello Sagar,

But the view is not to set GONE. Google search is optional so it can be gone some time. How we can do this ? I am also used setMenuVisibility(false) method. Please help me .......

On Mon, Aug 1, 2016 at 11:20 AM, Jitendra Nandiya < jitendra.nandiya@hiteshi.com> wrote:

Hello Sagar,

My error is resolved with this solution....Thanks very much.

On Fri, Jul 29, 2016 at 10:32 PM, Sagar notifications@github.com wrote:

use

<meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" />

this in place of

<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="@string/google_maps_key" />

I am getting the error because of it .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/googlesamples/android-play-places/issues/26#issuecomment-236235711, or mute the thread https://github.com/notifications/unsubscribe-auth/AOWhXRfXlCQ9bSCyRJ30iO5g5OcNfPQ9ks5qajIagaJpZM4GngzS .

Thanks & Regards Jitendra Nandiya Hiteshi Technologies

Thanks & Regards Jitendra Nandiya Hiteshi Technologies

JitendraNandiya commented 8 years ago

It is resolve.

This view put on other view(LinearLayout Or RelativeLayout) and set visibility gone/visible

On Mon, Aug 1, 2016 at 2:15 PM, Jitendra Nandiya < jitendra.nandiya@hiteshi.com> wrote:

Hello Sagar,

But the view is not to set GONE. Google search is optional so it can be gone some time. How we can do this ? I am also used setMenuVisibility(false) method. Please help me .......

On Mon, Aug 1, 2016 at 11:20 AM, Jitendra Nandiya < jitendra.nandiya@hiteshi.com> wrote:

Hello Sagar,

My error is resolved with this solution....Thanks very much.

On Fri, Jul 29, 2016 at 10:32 PM, Sagar notifications@github.com wrote:

use

<meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" />

this in place of

<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="@string/google_maps_key" />

I am getting the error because of it .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/googlesamples/android-play-places/issues/26#issuecomment-236235711, or mute the thread https://github.com/notifications/unsubscribe-auth/AOWhXRfXlCQ9bSCyRJ30iO5g5OcNfPQ9ks5qajIagaJpZM4GngzS .

Thanks & Regards Jitendra Nandiya Hiteshi Technologies

Thanks & Regards Jitendra Nandiya Hiteshi Technologies

Thanks & Regards Jitendra Nandiya Hiteshi Technologies

Jayachandra13 commented 8 years ago

Thank-you sagar15795!!

karansoni725 commented 7 years ago

Error contacting API: Status{statusCode=PLACES_API_INVALID_APP,resolution=null}

This Error is coming only Two phones , can anybody help me how to resolved this error, otherPhone is Going gud

JitendraNandiya commented 7 years ago

Which type of phones giving the error ?

On Fri, Nov 11, 2016 at 3:41 PM, karansoni725 notifications@github.com wrote:

Error contacting API: Status{statusCode=PLACESAPI INVALID_APP,resolution=null}

This Error is coming only Two phones , can anybody help me how to resolved this error, otherPhone is Going gud

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/googlesamples/android-play-places/issues/26#issuecomment-259925178, or mute the thread https://github.com/notifications/unsubscribe-auth/AOWhXUiXz50kIShNtJli5JUFzXEVUCTXks5q9D9BgaJpZM4GngzS .

Thanks & Regards Jitendra Nandiya Hiteshi Technologies

karansoni725 commented 7 years ago

Not Aware about phone But it is happening at client end , i have tried at 10- 15 phone its going gud @JitendraNandiya

prateekyaad commented 6 years ago

@JitendraNandiya Sir :) I am getting below issue

Status{statusCode=PLACES_API_KEY_INVALID i have used this in manifest and also enabled the API in console <meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" />

Jitendran commented 6 years ago

@Pratik You tried the Sagar's below solution ?

use

<meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" /> this in place of

<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="@string/google_maps_key" />

codingjeremy commented 5 years ago

This sample has been deprecated/archived (check README for more information on newer samples related to this technology).

As recommended by GitHub, we are closing all issues and pull requests.