Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for the new SDK structure #205

Merged
merged 1 commit into from

5 participants

@Shusshu
Collaborator

With the update of the SDK Tools 22 things got broken.
This fixes it

@mosabua mosabua merged commit b880165 into from
@Shusshu Shusshu deleted the branch
@nicstrong

Not sure this is an ideal fix. See my comment on #206

@adriancole

+1 to release this or similar into 3.5.4 soon!

@mosabua
Owner

Hopefully later today ;-)

@adriancole

wow. what an awesome answer!

@bootstraponline

On some systems the path is /build-tools/android-4.2.2/ instead of /build-tools/17.0.0/. I had to fix it in Appium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 15, 2013
  1. @Shusshu
This page is out of date. Refresh to see the latest.
View
5 src/main/java/com/jayway/maven/plugins/android/AndroidSdk.java
@@ -182,7 +182,10 @@ public String getPathForTool( String tool )
sdkPath + "/" + PLATFORM_TOOLS_FOLDER_NAME + "/lib/" + tool, getPlatform() + "/tools/" + tool,
getPlatform() + "/tools/" + tool + ".exe", getPlatform() + "/tools/" + tool + ".bat",
getPlatform() + "/tools/lib/" + tool, sdkPath + "/tools/" + tool, sdkPath + "/tools/" + tool + ".exe",
- sdkPath + "/tools/" + tool + ".bat", sdkPath + "/tools/lib/" + tool };
+ sdkPath + "/tools/" + tool + ".bat", sdkPath + "/tools/lib/" + tool,
+ sdkPath + "/build-tools/17.0.0/" + tool,
+ sdkPath + "/build-tools/17.0.0/" + tool + ".bat",
+ sdkPath + "/build-tools/17.0.0/" + tool + ".exe"};
for ( String possiblePath : possiblePaths )
{
Something went wrong with that request. Please try again.