Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25380] Hyperloop: Uncaught exception was thrown with android FusedLocation Services

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2018-12-04T15:04:10.000+0000
Affected Version/sHyperloop 2.1.3
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterNazmus Salahin
AssigneeUnknown
Created2017-10-10T11:54:13.000+0000
Updated2018-12-04T15:04:10.000+0000

Description

Steps to reproduce: 1) Create a new project. 2) Run android-sdk-macosx/tools/android and ensure that Extras > Google Play Services is installed (currently version 44) 3) Copy files from: android-sdk-macosx/extras/google/m2repository/com/google/android/gms/play-services/11.0.4 android-sdk-macosx/extras/google/m2repository/com/google/android/gms/play-services-base/11.0.4 android-sdk-macosx/extras/google/m2repository/com/google/android/gms/play-services-basement/11.0.4 to:*/app/platform/android* 4) In your index.js
var Gms = require("com.google.android.gms.common.*”),

GmsLocation = require("com.google.android.gms.location.*”),

ConnectionResult = require("com.google.android.gms.common.ConnectionResult"),

LocationListener = require("com.google.android.gms.location.LocationListener"),

LocationRequest = require("com.google.android.gms.location.LocationRequest"),

LocationServices = require("com.google.android.gms.location.LocationServices");
5) Declare the variables by using the imported aars. That is all you need to do. These errors occur during compilation. Error Log:
2017-10-02T20:12:07.065Z | ERROR  | An uncaught exception was thrown!

Invalid CLASSPATH specified, file /Users/Raju/Documents/Appcelerator_Studio_Workspace_2017_Oct/GoogleHyperloop/build/hyperloop/android/play-services-11.0.4/classes.jar does not exist.

2017-10-02T20:12:07.066Z | ERROR  | Invalid CLASSPATH specified, file /Users/Raju/Documents/Appcelerator_Studio_Workspace_2017_Oct/GoogleHyperloop/build/hyperloop/android/play-services-11.0.4/classes.jar does not exist.

2017-10-02T20:12:07.066Z | TRACE  | Error: Invalid CLASSPATH specified, file /Users/Raju/Documents/Appcelerator_Studio_Workspace_2017_Oct/GoogleHyperloop/build/hyperloop/android/play-services-11.0.4/classes.jar does not exist.

Comments

  1. greg 2017-10-11

  2. Nazmus Salahin 2018-12-04

JSON Source