Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
android-sdk-numic-plugin
Advanced tools
Configures native Android installation to match installed SDK.
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.
This plugin requires the project is managed through numic.
npm i --save-dev 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.
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.
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
.
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": 34,
"targetSdkVersion": 34,
"minSdkVersion": 21,
"buildToolsVersion": "34.0.0"
}
}
}
FAQs
Configures native Android installation to match installed SDK.
The npm package android-sdk-numic-plugin receives a total of 3 weekly downloads. As such, android-sdk-numic-plugin popularity was classified as not popular.
We found that android-sdk-numic-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.