mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 19:05:34 +01:00
deal with slashes in android sdk
This commit is contained in:
@@ -482,8 +482,11 @@ public class Build {
|
||||
|
||||
void writeLocalProps(File file) {
|
||||
PrintWriter writer = PApplet.createWriter(file);
|
||||
//writer.println("sdk-location=" + Android.sdkPath); // r3 of the sdk
|
||||
writer.println("sdk.dir=" + Android.sdkPath); // r4 of the sdk
|
||||
if (Base.isWindows()) {
|
||||
writer.println("sdk.dir=" + Android.sdkPath.replace('\\', '/'));
|
||||
} else {
|
||||
writer.println("sdk.dir=" + Android.sdkPath);
|
||||
}
|
||||
writer.flush();
|
||||
writer.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user