Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android - Could not resolve project :UnityExport #38

Open
ChauVV opened this issue Mar 30, 2021 · 2 comments
Open

Android - Could not resolve project :UnityExport #38

ChauVV opened this issue Mar 30, 2021 · 2 comments

Comments

@ChauVV
Copy link

ChauVV commented Mar 30, 2021

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 ChauVV changed the title Could not resolve project :UnityExport Android - Could not resolve project :UnityExport Mar 30, 2021
@dave-vazquez
Copy link

Have you tried this solution #22?

@enriqueao
Copy link

try this

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants