Error compile apk in appcelerator -


i try compile apk using appcelerator error , using module ti.cloudpush. how solve it.

currently i'm using titanium sdk: 5.2.0.ga

  [error] :  failed run dexer:   [error] :     [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/dynamic/lifecycledelegate;   [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/googleauthutil;   [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/userrecoverableauthexception;   [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/googleauthexception;   [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/googleplayservicesavailabilityexception;   [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/userrecoverablenotifiedexception;   [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/common/googleplayservicesutil;   [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/common/userrecoverableexception;   [error] :  uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/common/accountpicker;   [error] :     [error] :  unexpected top-level exception:   [error] :  java.lang.runtimeexception: translation has been interrupted   [error] :     @ com.android.dx.command.dexer.main.processallfiles(main.java:608)   [error] :     @ com.android.dx.command.dexer.main.runmonodex(main.java:311)   [error] :     @ com.android.dx.command.dexer.main.run(main.java:277)   [error] :     @ com.android.dx.command.dexer.main.main(main.java:245)   [error] :     @ com.android.dx.command.main.main(main.java:106)   [error] :  caused by: java.lang.interruptedexception: many errors   [error] :     @ com.android.dx.command.dexer.main.processallfiles(main.java:600)   [error] :     ... 4 more 

here module used project

<modules>     <module platform="commonjs">ti.cloud</module>     <module platform="android">dk.napp.drawer</module>     <module platform="android">ti.admob</module>     <module platform="android">ti.ga</module>     <module platform="android">ti.cloudpush</module> </modules> 

thanks

google play services included in ti.cloudpush, ti.admob, , ti.ga. have conflicting versions of library.

my recommendation select 1 version of google-play-services.jar , forcibly replace jar files in modules 1 version.

i copied ti.cloudpush module project directory can maintain directly (and keep proper version of google-play-services.jar checked source code repository).

i have not had problem if replace jar file newer version. can cross-reference jar file versions against document: http://www.smorgasbork.com/2015/01/05/google-play-services-sdk-version-history/

btw -- there module available google analytics. have used https://github.com/sitata/titanium-google-analytics success. i'm not sure difference between 1 , ti.ga (although think ben bahrenburg great ti developer, might have one).


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -