android


React Native Operation Not Permitted


I am following the simply setup of React Native at: https://facebook.github.io/react-native/docs/getting-started.html,
After setting up the environment with react-native start, and running react-native run-android, I receive the following errors:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not find com.android.support:appcompat-v7:23.0.1.
Searched in the following locations:
file:/C:/Users/KJA/.m2/repository/com/android/support/appcompat-v7/23.0
.1/appcompat-v7-23.0.1.pom
file:/C:/Users/KJA/.m2/repository/com/android/support/appcompat-v7/23.0
.1/appcompat-v7-23.0.1.jar
https://jcenter.bintray.com/com/android/support/appcompat-v7/23.0.1/app
compat-v7-23.0.1.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/23.0.1/app
compat-v7-23.0.1.jar
file:/C:/Users/KJA/ReactNativeProjects/AwesomeProject/node_modules/reac
t-native/android/com/android/support/appcompat-v7/23.0.1/appcompat-v7-23.0.1.pom
file:/C:/Users/KJA/ReactNativeProjects/AwesomeProject/node_modules/reac
t-native/android/com/android/support/appcompat-v7/23.0.1/appcompat-v7-23.0.1.jar
file:/C:/Android/android-sdk/extras/android/m2repository/com/android/su
pport/appcompat-v7/23.0.1/appcompat-v7-23.0.1.pom
file:/C:/Android/android-sdk/extras/android/m2repository/com/android/su
pport/appcompat-v7/23.0.1/appcompat-v7-23.0.1.jar
file:/C:/Android/android-sdk/extras/google/m2repository/com/android/sup
port/appcompat-v7/23.0.1/appcompat-v7-23.0.1.pom
file:/C:/Android/android-sdk/extras/google/m2repository/com/android/sup
port/appcompat-v7/23.0.1/appcompat-v7-23.0.1.jar
Required by:
AwesomeProject:app:unspecified
AwesomeProject:app:unspecified > com.facebook.react:react-native:0.23.1
> Could not find com.android.support:recyclerview-v7:23.0.1.
Searched in the following locations:
file:/C:/Users/KJA/.m2/repository/com/android/support/recyclerview-v7/2
3.0.1/recyclerview-v7-23.0.1.pom
file:/C:/Users/KJA/.m2/repository/com/android/support/recyclerview-v7/2
3.0.1/recyclerview-v7-23.0.1.jar
https://jcenter.bintray.com/com/android/support/recyclerview-v7/23.0.1/
recyclerview-v7-23.0.1.pom
https://jcenter.bintray.com/com/android/support/recyclerview-v7/23.0.1/
recyclerview-v7-23.0.1.jar
file:/C:/Users/KJA/ReactNativeProjects/AwesomeProject/node_modules/reac
t-native/android/com/android/support/recyclerview-v7/23.0.1/recyclerview-v7-23.0
.1.pom
file:/C:/Users/KJA/ReactNativeProjects/AwesomeProject/node_modules/reac
t-native/android/com/android/support/recyclerview-v7/23.0.1/recyclerview-v7-23.0
.1.jar
file:/C:/Android/android-sdk/extras/android/m2repository/com/android/su
pport/recyclerview-v7/23.0.1/recyclerview-v7-23.0.1.pom
file:/C:/Android/android-sdk/extras/android/m2repository/com/android/su
pport/recyclerview-v7/23.0.1/recyclerview-v7-23.0.1.jar
file:/C:/Android/android-sdk/extras/google/m2repository/com/android/sup
port/recyclerview-v7/23.0.1/recyclerview-v7-23.0.1.pom
file:/C:/Android/android-sdk/extras/google/m2repository/com/android/sup
port/recyclerview-v7/23.0.1/recyclerview-v7-23.0.1.jar
Required by:
AwesomeProject:app:unspecified > com.facebook.react:react-native:0.23.1
and within the Running Packager:
React packager ready.
[11:12:35 PM] <END> Crawling File System (17042ms)
[11:12:35 PM] <START> Building in-memory fs for JavaScript
[11:12:35 PM] <END> Building in-memory fs for JavaScript (141ms)
[11:12:35 PM] <START> Building in-memory fs for Assets
[11:12:35 PM] <END> Building in-memory fs for Assets (132ms)
[11:12:35 PM] <START> Building Haste Map
[11:12:35 PM] <START> Building (deprecated) Asset Map
[11:12:35 PM] <END> Building (deprecated) Asset Map (46ms)
[11:12:35 PM] <END> Building Haste Map (275ms)
[11:12:35 PM] <END> Building Dependency Graph (17591ms)
ERROR EPERM: operation not permitted, lstat 'C:\Users\KJA\ReactNativeProjects\
AwesomeProject\node_modules\.staging\utf-8-validate-def6dc62\src\validation.cc'
{"errno":-4048,"code":"EPERM","syscall":"lstat","path":"C:\\Users\\KJA\\ReactNat
iveProjects\\AwesomeProject\\node_modules\\.staging\\utf-8-validate-def6dc62\\sr
c\\validation.cc"}
Error: EPERM: operation not permitted, lstat 'C:\Users\KJA\ReactNativeProjects\A
wesomeProject\node_modules\.staging\utf-8-validate-def6dc62\src\validation.cc'
at Error (native)
How can I alleviate this issue?
Seems like you're missing android support library:
> Could not find com.android.support:appcompat-v7:23.0.1.
Double check your packages on Android SDK Manager, and make sure you have installed all of the following:
Android SDK Manager
Hope it helps! :)

Related Links

Android Studio Emulator too big (Version 1.1.0)
Android: How to group a textview and imageview in a checkbox
Robolectric 3 NoClassDefFoundError on Context
Android clear gesture
Access SharedPreferences from another class (non-activity)
GSON is converting string to number in Json serialization
Android Lollipop system icons in Android Studio
Using an existing Android emulator in IntelliJ Idea
(Vuforia Videoplayback on Texture) HELP!! Video is playing on texture but no video is shown only blank surface?
dexguard obfuscation issue
Immersive mode android
Appium - Clean app state at the first test and last test, but not between tests
Old style seekbar in new android versions
App Inventor Slider : Setting it for whole values?
Android get started or demo for my app
CursorAdapter showing wrong values in android

Categories

HOME
django
pagination
jax-rs
zend-framework
pascal
camera
socket.io
can
webix
syntaxnet
g++
heap
plist
altera
internationalization
google-data-studio
identity-management
cfml
sencha-touch
charles
google-maps-autocomplete
googlebot
question2answer
maze
android-things
boost-asio
volatile
kodi
dumpbin
spring-security4
linkedhashmap
hreflang
keras-layer
google-knowledge-graph
xcode7.3
opensmpp
numberpicker
plr
openresty
activeperl
qtranslate
reshape
restore
vulcanize
resourcemanager
macaulay2
rspec2
i386
eigenvector
angular-ui-typeahead
project-organization
uiactionsheet
fink
invoke-sqlcmd
exim4
qbxml
phpgrid
highland.js
vigenere
microsoft-reporting
phonertc
zscript
viola-jones
apache-commons-daemon
canvg
snackbar
zend-currency
ssis-data-flow
machine-instruction
lambda-architecture
matrix-inverse
wxformbuilder
mutual-authentication
gae-quotas
code-duplication
beaker-testing
alice
device-width
curb
patricia-trie
sentestingkit
zope.interface
josql
oracle-enterprise-linux
workflow-services
promotion-code
catransform3d
pylucene
uipagecontrol
mtu
cac
resharper-6.0
vs-android
eclipse-marketplace
opml
feasibility
ifilter
lemmatization

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile