Git Product home page Git Product logo

Comments (12)

kopiro avatar kopiro commented on May 23, 2024

Make sure that you have inserted in your tiapp.xml, in the node android> manifest > application, the GPS ver:

<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />

from ti.goosh.

jmosqueda1987 avatar jmosqueda1987 commented on May 23, 2024

Hi, I have the same problem, but dont work, this is my code in tiapp.xml

<android xmlns:android="http://schemas.android.com/apk/res/android">
        <manifest android:versionCode="1000" android:versionName="1.0.0" package="com.imp.dev" xmlns:android="http://schemas.android.com/apk/res/android">
            <application android:theme="@style/Theme.AppCompat.Light.NoActionBar">
                <meta-data
    android:name="com.google.android.gms.version"
    android:value="@integer/google_play_services_version" />
             </application>
        </manifest>
    </android>

Can you help me please?

from ti.goosh.

progress44 avatar progress44 commented on May 23, 2024

@jmosqueda1987 Can you paste the error log?

from ti.goosh.

jmosqueda1987 avatar jmosqueda1987 commented on May 23, 2024

Sure!

This is my error

Error: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 7571000 but found 8487000. You must have the following declaration within the element: <

meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />

Thanks!

from ti.goosh.

kopiro avatar kopiro commented on May 23, 2024

Are you using other Android modules?

from ti.goosh.

jmosqueda1987 avatar jmosqueda1987 commented on May 23, 2024

Thanks for fast response!

Exactly, currently use also Ti.map

Regards

from ti.goosh.

kopiro avatar kopiro commented on May 23, 2024

Fast answer: https://github.com/caffeinalab/ti.goosh/tree/master/gps-jars
Check why: #15

from ti.goosh.

jmosqueda1987 avatar jmosqueda1987 commented on May 23, 2024

Hi,

Already copy the file google-play-services-gcm-map.jar to the ti.map and ti.goosh but get this error

[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/AccountPicker;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/ConnectionResult;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/ErrorDialogFragment;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GoogleApiAvailability;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesNotAvailableException;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesRepairableException;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesUtil;

Thanks

from ti.goosh.

jmosqueda1987 avatar jmosqueda1987 commented on May 23, 2024

I delete all files en ti.map and get this error

[ERROR] : Failed to run dexer:
[ERROR] :
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/AccountPicker;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/ConnectionResult;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/ErrorDialogFragment;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GoogleApiAvailability;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesNotAvailableException;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesRepairableException;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesUtil;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesUtil$zza;
[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/Scopes;
[ERROR] :
[ERROR] : UNEXPECTED TOP-LEVEL EXCEPTION:
[ERROR] : java.lang.RuntimeException: Translation has been interrupted
[ERROR] : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:608)
[ERROR] : at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
[ERROR] : at com.android.dx.command.dexer.Main.run(Main.java:277)
[ERROR] : at com.android.dx.command.dexer.Main.main(Main.java:245)
[ERROR] : at com.android.dx.command.Main.main(Main.java:106)
[ERROR] : Caused by: java.lang.InterruptedException: Too many errors
[ERROR] : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600)
[ERROR] : ... 4 more

Please help me

Thanks

from ti.goosh.

progress44 avatar progress44 commented on May 23, 2024

@jmosqueda1987 are you using any other module that makes use of google play services?

from ti.goosh.

jmosqueda1987 avatar jmosqueda1987 commented on May 23, 2024

@i Think That only ti.map , recently i delete the jar files in ti.map/lib and ti.goosh/lib and it's Work but I don't know if this is bad , what do you think ???

Regards
Thanks

[email protected]

El día 2 de septiembre de 2016 a las 2:10:44 p.m., Ani Sinanaj ([email protected](mailto:[email protected])) escrito:

@jmosqueda1987(https://github.com/jmosqueda1987) are you using any other module that makes use of google play services?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub(#12 (comment)), or mute the thread(https://github.com/notifications/unsubscribe-auth/AM9wMkKAc46gVFXCXJsjka3dhngPSMa9ks5qmHS0gaJpZM4JmUXD).

from ti.goosh.

progress44 avatar progress44 commented on May 23, 2024

@jmosqueda1987 I don't recall seeing tuve.jar in ti.map. You should be alright without it

from ti.goosh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.