Skip to content

Commit 7caa37f

Browse files
committed
use File.separator and File.pathSeparatorChar in getSearchPath()
1 parent 4a23474 commit 7caa37f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/processing/mode/android/AndroidMode.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ public AndroidSDK getSDK() {
161161

162162
@Override
163163
public String getSearchPath() {
164-
String androidJarPath = sdk.getSdkFolder().getAbsolutePath() + "/platforms/"
165-
+ "android-" + AndroidBuild.sdkVersion + "/android.jar";
166-
167-
return super.getSearchPath() + androidJarPath;
164+
String androidJarPath = sdk.getSdkFolder().getAbsolutePath() +
165+
File.separator + "platforms" + File.separator + "android-" +
166+
AndroidBuild.sdkVersion + File.separator + "android.jar";
167+
return super.getSearchPath() + File.pathSeparatorChar + androidJarPath;
168168
}
169169

170170

0 commit comments

Comments
 (0)