Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Android 4.4.2 #12

Closed
DCareClues opened this issue Aug 17, 2016 · 12 comments
Closed

Not working on Android 4.4.2 #12

DCareClues opened this issue Aug 17, 2016 · 12 comments

Comments

@DCareClues
Copy link

[DEBUG] : D/ti.goosh.TiGooshModule: No notification in Intent
[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
[WARN] : GooglePlayServicesUtil: Google Play services out of date. Requires 8487000 but found 7895032
[WARN] : W/System.err: java.lang.NoClassDefFoundError: com.google.android.gms.R$string
[WARN] : W/System.err: at com.google.android.gms.common.internal.zzg.zzc(Unknown Source)
[WARN] : W/System.err: at com.google.android.gms.common.GooglePlayServicesUtil.zza(Unknown Source)
[WARN] : W/System.err: at com.google.android.gms.common.GooglePlayServicesUtil.getErrorDialog(Unknown Source)
[WARN] : W/System.err: at com.google.android.gms.common.GooglePlayServicesUtil.getErrorDialog(Unknown Source)
[WARN] : W/System.err: at com.google.android.gms.common.GoogleApiAvailability.getErrorDialog(Unknown Source)
[WARN] : W/System.err: at ti.goosh.TiGooshModule.checkPlayServices(TiGooshModule.java:89)
[WARN] : W/System.err: at ti.goosh.TiGooshModule.registerForPushNotifications(TiGooshModule.java:114)
[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)
[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:177)
[WARN] : W/System.err: at org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:319)
[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:203)

@kopiro
Copy link
Contributor

kopiro commented Aug 30, 2016

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" />

@jmosqueda1987
Copy link

jmosqueda1987 commented Sep 1, 2016

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?

@progress44
Copy link
Contributor

@jmosqueda1987 Can you paste the error log?

@jmosqueda1987
Copy link

jmosqueda1987 commented Sep 1, 2016

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!

@kopiro
Copy link
Contributor

kopiro commented Sep 2, 2016

Are you using other Android modules?

@jmosqueda1987
Copy link

Thanks for fast response!

Exactly, currently use also Ti.map

Regards

@kopiro
Copy link
Contributor

kopiro commented Sep 2, 2016

@jmosqueda1987
Copy link

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

@jmosqueda1987
Copy link

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

@progress44
Copy link
Contributor

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

@jmosqueda1987
Copy link

jmosqueda1987 commented Sep 2, 2016

@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

kenhack@outlook.com

El día 2 de septiembre de 2016 a las 2:10:44 p.m., Ani Sinanaj (notifications@github.com(mailto:notifications@github.com)) 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).

@progress44
Copy link
Contributor

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

@kopiro kopiro closed this as completed Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants