Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

android-sdk-numic-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

android-sdk-numic-plugin

Configures native Android installation to match installed SDK.

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-54.55%
Maintainers
1
Weekly downloads
 
Created
Source

android-sdk-numic-plugin

Android SDK Numic Plugin Logo

Numic plugin to configure native folders to use the currently installed Android SDK. This ensures the build will always be successful even after updating the system.

Installation

This plugin requires the project is managed through numic.

npm i --save-dev android-sdk-numic-plugin / bun install -D android-sdk-numic-plugin

buildToolsVersion, compileSdkVersion and targetSdkVersion will be set to the newest one installed, while minSdkVersion will default to the React Native template unless configured explicitly. apilevels.com can help in determining the appropriate minSdkVersion for your application. Check the Android Version History on Wikipedia to determine the latest Android version used as compileSdkVersion and targetSdkVersion. The buildToolsVersion is more specific and should match the exact one you have installed. This plugin aims to be updated regularly to always point to the latest Android release. When developing it's often a good idea to try the application with the latest preview version to ensure future compatibility.

Prerequisites

Make sure to update or install the Android SDK CLI Tools. This can be done when opening a project with Android Studio and clicking the icon "SDK Manager" on the top-right.

Updating Android CLI Tools

Furthermore, it's important to properly configure the $ANDROID_HOME variable. On macOS when installing Android Studio this can be set to export ANDROID_HOME=$HOME/Library/Android/sdk in ~/.zshrc.

Configuration

The detailed Android SDK versions can be configured in package.json under the numic property. This will override automatically using the installed version as described above.

{
  "name": "my-app",
  "numic": {
    "android-sdk-numic-plugin": {
      "compileSdkVersion": 35,
      "targetSdkVersion": 35,
      "minSdkVersion": 24,
      "buildToolsVersion": "35.0.0"
    }
  }
}

Keywords

FAQs

Package last updated on 24 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc