Skip to content

Instantly share code, notes, and snippets.

@bdw429s
Created January 13, 2015 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdw429s/da93e5e0ceae7f1826b7 to your computer and use it in GitHub Desktop.
Save bdw429s/da93e5e0ceae7f1826b7 to your computer and use it in GitHub Desktop.
cannot find symbol [javac] symbol : class LocalFilesystemURL
-compile:
[javac] Compiling 20 source files to /project/bin/classes
[javac] /project/src/org/apache/cordova/mediacapture/Capture.java:32: cannot find symbol
[javac] symbol : class LocalFilesystemURL
[javac] location: package org.apache.cordova.file
[javac] import org.apache.cordova.file.LocalFilesystemURL;
[javac] ^
[javac] /project/src/org/apache/cordova/mediacapture/Capture.java:449: cannot find symbol
[javac] symbol : class LocalFilesystemURL
[javac] location: class org.apache.cordova.mediacapture.Capture
[javac] LocalFilesystemURL url = filePlugin.filesystemURLforLocalPath(fp.getAbsolutePath());
[javac] ^
[javac] /project/src/org/apache/cordova/mediacapture/Capture.java:449: cannot find symbol
[javac] symbol : method filesystemURLforLocalPath(java.lang.String)
[javac] location: class org.apache.cordova.file.FileUtils
[javac] LocalFilesystemURL url = filePlugin.filesystemURLforLocalPath(fp.getAbsolutePath());
[javac] ^
[javac] Note: /project/src/org/apache/cordova/file/DirectoryManager.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /project/src/org/apache/cordova/mediacapture/Capture.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
BUILD FAILED
/home/ec2-user/android-sdk/tools/ant/build.xml:720: The following error occurred while executing this line:
/home/ec2-user/android-sdk/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment