ReactVision / viro

ViroReact: The AR and VR library for React Native πŸ“³πŸ’™πŸ’›πŸ€πŸ’š
MIT License
1.36k stars 157 forks source link

path may not be null or empty string. path='null' #155

Closed marvinraydalida closed 2 years ago

marvinraydalida commented 2 years ago

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Windows
  2. Device OS & Version: Android 12
  3. Version: ViroReact ^2.23.0 and React-native ^0.65.1
  4. Device(s): Vivo v2022

Description

I have followed the instructions on how to integrate viro to expo through this page. After expo run:android it started building then a Build failed with an exception occurred.

The error:

Settings file 'C:\Users\Amben\Desktop\React Native\viro-expo-test\android\settings.gradle' line: 10

Checked line 10 inside settings.gradle but have no idea what's causing the error there.

includeBuild(new File(["node", "--print", "require.resolve('react-native-gradle-plugin/package.json')"].execute(null, rootDir).text.trim()).getParentFile())

Reproducible Demo

I just did the steps here up until Generate the android folder, downgraded my react-native version to ^0.65.1 and then run the command expo run:android.

marvinraydalida commented 2 years ago

I think I found the error after hours of looking... I placed the plugins array inside expo object.