I am working on an ejected workflow and was trying to remove the background location permissions using app.json android/permissions key-pair. Before doing that, both the build and the app was working fine. After I added them "permissions": [ "SYSTEM_ALERT_WINDOW", "READ_PHONE_STATE", "USE_FINGERPRINT", "USE_BIOMETRIC", "VIBRATE", "MODIFY_AUDIO_SETTINGS", "ACCESS_COARSE_LOCATION", "ACCESS_FINE_LOCATION", "CAMERA", "RECORD_AUDIO", "READ_EXTERNAL_STORAGE", "WRITE_EXTERNAL_STORAGE", "WRITE_SETTINGS" ]
and removed the node_modules folder as well as the package-lock.json file. After this i ran npm install and then rebuild project using android studio, however I get this error:
`
Task :expo-permissions:compileDebugKotlin FAILED
e: E:\Work\pax-app\node_modules\expo-image-picker\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\requesters\BackgroundLocationRequester.kt: (12, 50): Unresolved reference: R
e: E:\Work\pax-app\node_modules\expo-image-picker\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\requesters\BackgroundLocationRequester.kt: (19, 52): Unresolved reference: R
e: E:\Work\pax-app\node_modules\expo-image-picker\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\requesters\BackgroundLocationRequester.kt: (40, 36): Unresolved reference: R
`
Can someone please tell me what am I doing wrong?