react-native-unity-view icon indicating copy to clipboard operation
react-native-unity-view copied to clipboard

Android - Could not resolve project :UnityExport

Open ChauVV opened this issue 4 years ago • 2 comments

Unity: 2019.4.23f1 React-native: 0.63.4

I run application in ios is ok. but on android i face this issue.

Screen Shot 2021-03-30 at 5 10 00 PM

my build.gradle Screen Shot 2021-03-30 at 5 12 38 PM

settings.gradle

Screen Shot 2021-03-30 at 5 12 48 PM

UnityExport/build.gradle

Screen Shot 2021-03-30 at 5 13 18 PM

Any help, please.

ChauVV avatar Mar 30 '21 10:03 ChauVV

Have you tried this solution #22?

dave-vazquez avatar Apr 19 '21 19:04 dave-vazquez

try this

include ":UnityExport"
project(":UnityExport").projectDir = new File('..\\android\\UnityExport\\unityLibrary')
flatDir {
   dirs "${project(':UnityExport').projectDir}/libs"
}

enriqueao avatar May 03 '21 20:05 enriqueao