Comments (15)
Removing global installation of TiMap I SOLVED THE PROBLEM! Now compile!!!
from ti.goosh.
Hi Luca,
Check out this related issues #14, #15 which have already been resolved.
from ti.goosh.
Hey,
sorry if i open again but before to publish my error i've read all other questions about same issue. I followed the procedure that worked for #15 but i still have the problem.
I installed your last version of ti.goosh (very thank for this! it will be very usefull for me!) and version 3.0 of ti.map, together installed by " gittio install .... ", then i replaced all GPS jars in lib, overwritten the version of version.xml files and added the string <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
to tiapp.xml
If it's interesting, i'm using Titanium (sdk v.5.4.0.GA) with TiShadow. I'm using as other module "TiParseJs" and i have the others basic modules (created by TiShadow, but without the 'lib' directory, so i suppose they don't use GPS).
Could you help me? I need a solution for my universitary project..
Regards, Luca
from ti.goosh.
Hi @Luca4k4,
delete all the google play services libraries (from ti.map module and Ti.Goosh). Get the GPS jar that suits you the best from this repository, you can find it under gps/jars. It seems like you'd need GCM + Maps
Copy this jar library inside the ti.goosh module folder under lib.
TiParseJS is a commonJS module so it doesn't cause any problems. Make sure you're using the latest version of Ti.Goosh (1.5.0)
from ti.goosh.
Thank you for quickly reply. I replaced your "GCM + Maps" file with "Google-play-services-tigoosh" (under tigoosh/1.5.0/lib) and with "Google-play-services-map" and "Google-play-services-base" (under timap/3.0/lib) but anyway the error occured. There is a specific name that should the new jars file have?
from ti.goosh.
No they're included automatically but you have to delete the google-play-services-map
under ti.map/3.0/lib
. Delete all the files inside ti.map/3.0/lib
from ti.goosh.
i removed google-play-services-map and google-play-services-base from lib in timap
from ti.goosh.
can you paste the error log?
from ti.goosh.
i'm trying with version 2.3.10 of ti.map but the error still occure.. This is my console:
[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
from ti.goosh.
Are you sure you're not using any other modules?
from ti.goosh.
This is all my modules: http://s13.postimg.org/yv8zkdzgn/Schermata_del_2016_09_24_01_24_13.png
from ti.goosh.
Try removing all of them except Ti.map and ti.goosh and see if the problem persists then add them one by one
from ti.goosh.
i still have the problem with only the two modules.. i found a previously global installation of ti.map, i'm trying to remove it but i think that local > global, or not?
Anyway, have i to remove the gson.jar file under /ti.goosh/lib too ?
from ti.goosh.
Local modules have priority against global modules. What files do you have under ti.goosh/lib?
from ti.goosh.
Thank you @progress44 for the time you dedicated to my problem!
from ti.goosh.
Related Issues (20)
- How can we use both ios? HOT 3
- Failed to get GCM Registration Token:TIMEOUT HOT 1
- Cannot build with 7.1.0 SDK. HOT 10
- Crash Report HOT 2
- Crash report from Google Play HOT 1
- Crash report HOT 2
- Recent crash report HOT 10
- java.lang.ClassCastException receiving foregrounded FCM ttl and sent_time HOT 2
- Silent notification not receiving payload? HOT 2
- Getting invalid sender error
- Compilation Error HOT 10
- targetSdkVersion="26" Notifications not received on some android device HOT 24
- Android Oreo Issue --Notification is not receiving in background HOT 3
- Not getting callback when the app is in background or killed HOT 27
- [WARN] : W/ti.goosh.IntentService: Show Notification: FALSE HOT 5
- ti.goosh and ti.admob together
- Use Android notification channels HOT 1
- Firebase support - internal dependencies HOT 8
- Remove app from background, No notification get
- Need to bump version for TiSDK 9.x version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ti.goosh.