Coder Social home page Coder Social logo

ni554n / sources-for-android-sdk Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 4.0 122 KB

A custom "Sources for Android 34" package built from the Android 14 SDK Platform source code

android android-sdk android-sdk-sources android-studio github-actions sources-for-android android-14 api-34 android-upside-down-cake

sources-for-android-sdk's Introduction

Sources for Android SDK

Latest API Download Package Total number of downloads

The Sources for Android SDK package provides instant access to the documentation and source code of system framework in Android Studio. Without this package, documentations will be loaded from network, and system classes has to be decompiled when you ctrl + click on them to view the source.

Unfortunately, this package does not become available during the Developer Preview, which slows down debugging and development while test-driving the upcoming compileSdkVersion. This GitHub Actions workflow can build that package from a developing branch of the SDK platform source repo.

This package can also be updated normally using the SDK updater when the official version becomes available. But my recommendation is to uninstall this package from the SDK Manager first; otherwise it takes a long time to install the update due to the patching mechanism of SDK update.

You can enable GitHub Release Watch to get notified when a new build gets released on this repo.

Usage

  1. Download the package from Releases and extract the android-34 folder from the package
  2. Move the extracted folder into the Android SDK Location's /sources directory.
  3. Restart Android Studio.

Build it Yourself

  1. Fork this repo on GitHub.
  2. Create a new token with No expiration.
  3. Go to the Repo Actions Secrets and add the generated token named as PAT.
  4. Now go to the Build Android SDK Sources Package Workflow and select Run workflow dropdown menu.
  5. Pick and enter a Platform Source Branch Name from the Google Android Source Repo, API Level and Version Name (optional).

    API Level should be Integer only. Builds with String levels like UpsideDownCake don't get recognized in Android Studio.

  6. Run the workflow and wait for the package to appear on the Releases.

Acknowledgements

Based on the build instructions from this gist.

Information

Author: Nissan Ahmed (@ni554n)

Donate: PayPal

sources-for-android-sdk's People

Contributors

ni554n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.