i am currentyl trying to implement Google ActivityRecognitionApi. However i get following errors:
Error:Failed to crunch file C:\\Users\\marschall\\
which means that the path is too long to reach that particular file. make sure that your project is placed under the parent directory(do not go greater than 4 levels ).
example:
C:\Users\marschall\Desktop\googlesamples-android-play-location-2ed2964\ActivityProject
instead use :
C:/your project directory/your project file
the best practice is keep the project as easily available to the compiler.
Had the same problem. Move your project into a higher directory (like C:).
Android Studio 2.2 Google play services sync Error
The length of the path\file name (the count of all characters in the name)has crossed the maximum limit. This is happening because a combination of length of file name and the multiple nested folder levels.