'React Native Android Build Error Could not create task ':app:generateLintModuleInfo'
Hi Everyone i'm still new on react native i have a problem that cant build app debug when build gradlew assembleRelease, after build have an error this
* What went wrong:
Could not create task ':app:generateLintModuleInfo'.
> Failed to install the following SDK components:
patcher;v4 SDK Patch Applier v4
platforms;android-30 Android SDK Platform 30
emulator Android Emulator
build-tools;30.0.2 Android SDK Build-Tools 30.0.2
tools Android SDK Tools
Install the missing components using the SDK manager in Android Studio.
But i already installed and accept the license from android studio and i have install jdk & jre on my local pc the next log have like this 1 sample
License for package Android Emulator accepted.
Preparing "Install Android Emulator (revision: 31.2.10)".
Warning: Trying to install into C:\Local\Android\Sdk\platform-tools\emulator\ but package "Android SDK Platform-Tools" already exists at C:\Local\Android\Sdk\platform-tools\. It must be deleted or moved away before installing into a child directory.
Checking the license for package Android SDK Tools in C:\Local\Android\Sdk\platform-tools\licenses
is there any problem with local environtment or build gradle?, thanks for the help
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
