Skip to content

Commit 4a23474

Browse files
committed
Merge pull request #134 from omerjerk/bugfix
Add android.jar to the searchable jars list for error checking stuffs
2 parents d99cc6e + df0c0b9 commit 4a23474

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/processing/mode/android/AndroidMode.java

+9
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,15 @@ public void checkSDK(Editor parent) {
157157
public AndroidSDK getSDK() {
158158
return sdk;
159159
}
160+
161+
162+
@Override
163+
public String getSearchPath() {
164+
String androidJarPath = sdk.getSdkFolder().getAbsolutePath() + "/platforms/"
165+
+ "android-" + AndroidBuild.sdkVersion + "/android.jar";
166+
167+
return super.getSearchPath() + androidJarPath;
168+
}
160169

161170

162171
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

0 commit comments

Comments
 (0)