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

Integrating REST services with an inventory database and SQL using Android
android - menu gui difficulty
Android: Increase waiting time for image processing algorithms on Android NDK
Android In-App Billing : Security.java says “Signature Verification Failed”
How to set onItemClick listener with this
Android - how can i make a list of matching items as an entry is typed in
What is the best practice to extend an android app?
android get drawable area in onCreate method
Android app running on emulator Sync to app on localhost?
Developping Apps ON honeycomb devices
Bring an Activity to the front using Android TaskManager
What is the purpose of a custom category or action?
how to structure the UI components of a 3d app for android
Path to file in Android Eclipse project
Regarding using android ksoap2 web servies
What this error means and how to solve it?

Categories

HOME
codenvy
wakanda
yahoo-finance
javacc
spring-data-mongodb
soa
mips
crystal-reports-2013
odoo-8
rtf
radgridview
3nf
scrolltop
coin3d
job-scheduling
intershop
cgbitmapcontext
expressionengine3
maze
interbase
cppreference
dotspatial
panoramas
dst
cart
dsx-desktop
instantiation
activexobject
indy10
engine.io
cd
tex
css-position
skylink
dcmtk
show-hide
getchar
manova
carrot2
stdmap
dt
gpg-signature
py2neo
universal-analytics
objectscript
omxplayer
flex4.6
watch-os-2
signalr.client
tooleap
avspeechsynthesizer
eigenvector
nservicebus5
asyncdisplaykit
pypiserver
wiredep
fuelcms
finalbuilder
liquid-layout
xmltype
infosphere-spl
nodelist
at-job
pseudo-class
sip-server
deform
psr-4
mobility
cuba
lnk
authlogic
vbe
ora-06550
cmmi
flex++
wimax
sentestingkit
lambdaj
fitbounds
node-redis
mtu
metaweblog
uideviceorientation
addchild
build-environment
dsl-tools
dojo-dnd
escrow
xpsdocument
fail-fast-fail-early
fault-tolerance

Resources

Encrypt Message