Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Build fails with custom gradle and aar


grovelearning
 Share

Recommended Posts

Hi,

I am trying to build my Unity application for the Focus with a custom gradle and imported aar library file. When I try to build the app, it  gives me an error:

"Resource 'style/Theme.WaveVR.Loading' not found in AndroidManifest.xml:58"

However, when I remove the imported aar file and remove the custom gradle, it builds normally. Does anyone know how to fix this? Thank you in advance.

@Cotta @Tony PH Lin

Link to comment
Share on other sites

Hi, 

Unfortunately we still see the error. The gradle file is for importing a custom library aar file. We also entirely replaced the contents of the mainTemplate.gradle with our own custom file - is there something in the default mainTemplate.gradle that we should be keeping / including? @Cotta

Link to comment
Share on other sites

Hi @grovelearning

We’re not quite sure about the exact reason of the error. Basically this error shows Unity not able to find wvr_client.aar. If you only see it with custom gradle file you should make sure wvr_client.aar is included correctly.

Would you send us the custom gradle file so we can check it further? You may send it to me by private message.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...