Hello. I wanted to eject and start a freshly created app in my android emulator and it seems to be not working. I’m on Windows 10 machine and I’m using Powershell opened as administrator. Steps to reproduce:
- I started with
expo init test
2cd test
andnpm run eject
with option to use ExpoKit. After i let my android studio to build the project. - open android studio and wait until it builds a project
- run
expo start
- run application from android studio or use
react-native run-android
the expo start
console returns message like below
[15:00:46] events.js:183
[15:00:46] throw er; // Unhandled 'error' event
[15:00:46] ^
[15:00:46]
[15:00:46] Error: EPERM: operation not permitted, lstat 'C:\users\xxxx\Desktop\dev\test\android\app\build\generated\source\r\devMinSdkDevKernel\debug\android\arch\lifecycle\livedata\core\R.java'
and my androidstudio console returns Could not delete path 'C:\Users\xxxx\Desktop\dev\test\android\app\build\generated\source\r\devMinSdkDevKernel\debug\android\arch\lifecycle\livedata'.
Doesn’t anyone know where the problem can be? Thanks a lot!