
Add properties gpr.usr= GITHUB_USERID and gpr.In case of a public repository make sure you add this file to.Create a github.properties file within your root Android project.Step 2: Store your GitHub - Personal Access Token details Modify the module name if desired, and click Next. Select the Eclipse ADT project folder with the AndroidManifest.xml file and click Ok. From the Android Studio menu click File > New > Import Module.
You cannot see it again! The only option is to generate a new key. Import as a module: Start Android Studio and open the project you’d like to add the module to.
After Generating make sure to copy your new personal access token.
Make sure you select the following scopes (“ read:packages”) and Generate a token. Settings -> Developer Settings -> Personal Access Tokens -> Generate new token. Steps 1 and 2 are similar to Part 1 and can be skipped if already done while publishing a library Step 1 : Generate a Personal Access Token for GitHub Part 2 - Using an Android library from GitHub Packages within an Android ApplicationĬurrently the GitHub Packages requires us to Authenticate to download an Android Library (Public or Private) hosted on the GitHub Package.