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

Not finding google_ar_required.aar and google_ar_optional.aar files needed for ARCore support #1208

Closed
ejgutierrez74 opened this issue Dec 29, 2018 · 5 comments

Comments

@ejgutierrez74
Copy link

ejgutierrez74 commented Dec 29, 2018

Note: If this is a bug or support ticket, please provide the following information:

  • Unity version: 2017.4.17f

    • Scripting Runtime Version:
    • Scripting Backend:
    • Api Compatibility Level:
  • Mapbox SDK version: 2.0.0

  • The platform you're building to:Linux

  • A description of what you're trying to do:
    Just to make the project cleaner i moved some folders into a Mapbox folder:
    image

  • Steps to recreate the bug if appropriate: Import mapbox sdk to your project, then put all the things in a folder ( just to make it cleaner). You move the files inside unity, so it has to be aware of links and files moved.

  • Links to your logs are also helpful:
    image

It should be aware when you change files...perhaps changing configuration item ??

Also would be nice to delete all the AR related things if you dont want to use them....

The error cames in building and run, if you execute inside unity ( play), it works...If you build the scene and then generate and executable file and then go to file manager and run it, it works... Its only build &run that doesnt work...

Thanks

@ejgutierrez74
Copy link
Author

??

@jordy-isaac
Copy link
Contributor

You'll need to remove all AR related files or folders if not using AR.

@ejgutierrez74
Copy link
Author

@jordy-isaac but the problem here are two:
1 - One possible bug with structure of folders, when you move them inside unity, gives the commented error.

2 - If you try to remove all ar related files, it gives an error as reported above and also in other issue ive read..perhaps another bug.....Its not easy or not possible to delete ar related files.

Thanks

@RobertWetzler
Copy link

HI! I finally figured out how to solve this bug. In the Google AR Core SDK folder, find a file called BuildHelper.cs. Then find the location of the files google_ar_required.aar and google_ar_optional.aar. Modify lines 61 and 62 in BuildHelper.cs to reflect the true location of these two files. Works for me so far!

@johnson-52197
Copy link

HI! I finally figured out how to solve this bug. In the Google AR Core SDK folder, find a file called BuildHelper.cs. Then find the location of the files google_ar_required.aar and google_ar_optional.aar. Modify lines 61 and 62 in BuildHelper.cs to reflect the true location of these two files. Works for me so far!

It really worked, Thanks mate

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

4 participants