Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5574] Ti.GA issue

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNot Our Bug
Resolution Date2018-02-06T13:05:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules, Titanium SDK & CLI
Labelsandroid
Reportersonufana4u
AssigneeShak Hossain
Created2018-02-06T12:42:40.000+0000
Updated2018-02-07T09:30:07.000+0000

Description

I create a sample alloy project with Ti.SDK 7.0.1 and added Ti.GA (4.0.1).However when i try to install on android device, its giving an error something like below though i have added single module.When i remove google play service jar file from lib folder it works but getting some warning.So will Ti.GA still work with that warning or is there any other solution ?Please check below for warning message.Thanks *Error with play service jar file* {color:red}[ERROR] : Failed to run dexer: [ERROR] : [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/ItemListIntents; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/NoteIntents; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/ReserveIntents; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/SearchIntents; [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/ads/identifier/AdvertisingIdClient$zza; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/api/signin/GoogleSignInAccount; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/api/signin/GoogleSignInOptions; [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:615) [ERROR] : at com.android.dx.command.dexer.Main.runMultiDex(Main.java:368) [ERROR] : at com.android.dx.command.dexer.Main.runDx(Main.java:289) [ERROR] : at com.android.dx.command.dexer.Main.main(Main.java:247) [ERROR] : at com.android.dx.command.Main.main(Main.java:94) [ERROR] : Caused by: java.lang.InterruptedException: Too many errors [ERROR] : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:607) [ERROR] : ... 4 more [ERROR] Application Installer abnormal process termination. Process exit value was 1{color} Warning after removing jar file. [WARN] : GAv4: AnalyticsReceiver is not registered or is disabled. Register the receiver for reliable dispatching on non-Google Play devices. See http://goo.gl/8Rd3yj for instructions. [WARN] : GAv4: CampaignTrackingReceiver is not registered, not exported or is disabled. Installation campaign tracking is not possible. See http://goo.gl/8Rd3yj for instructions. [WARN] : GAv4: AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See http://goo.gl/8Rd3yj for instructions.

Attachments

FileDateSize
Screen Shot 2018-02-07 at 9.57.50 AM.png2018-02-07T09:29:48.000+000041007

Comments

  1. Hans Knöchel 2018-02-06

    Hey there! It looks like you might be missing the ti.playservices module that is a dependency of all modern modules that use PlayServices. Read more in the [official repo](https://github.com/benbahrenburg/Ti.GA/pull/20). Resolving as Not our Bug as it's no Titanium SDK issue, but I'll try to help in the linked repo, thanks!
  2. Vittorio Sorbera 2018-02-06

    Ti.GA 4.0.1 have not lib folder or jar files, it uses only ti.playservices Are you sure you're using the last module version?
  3. sonufana4u 2018-02-07

    Hey vittirio.I downloaded from here https://github.com/Astrovic/Ti.GA/tree/master/Android/dist Sharing screenshots in jar files are present.Could you please elaborate little bit how to use Ti.GA module and which is the latest one. !Screen Shot 2018-02-07 at 9.57.50 AM.png|thumbnail! Thanks Hans for taking this forward.

JSON Source