Skip to content

Instantly share code, notes, and snippets.

@ktchernov
Created June 20, 2017 05:26
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 ktchernov/efae883214131114efd7be29191ae0d5 to your computer and use it in GitHub Desktop.
Save ktchernov/efae883214131114efd7be29191ae0d5 to your computer and use it in GitHub Desktop.
Workaround for missing Android API level 26 sources in Android Studio 3 Canary (not yet made available to download by Google). Substitutes API 25 sources.
<!-- 0. Make sure you've got API level 25 sources
1. Open ~/Library/Preferences/AndroidStudioPreview3.0/options/jdk.table.xml (macOS path)
2. Find "API 26 Platform" section
3. Replace the <sourcePath> XML node in this section with the following (again, macOS path) -->
<sourcePath>
<root type="composite">
<root type="simple" url="file://$USER_HOME$/Library/Android/sdk/sources/android-25" />
</root>
</sourcePath>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment