GithubHelp home page GithubHelp logo

Comments (7)

google-oss-bot avatar google-oss-bot commented on September 23, 2024

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

from firebase-unity-sdk.

argzdev avatar argzdev commented on September 23, 2024

Hey @runette, the ndkVersion "**NDKVERSION**" should already exists within the mainTemplate.gradle once the project is created. Not sure how it's missing in your gradle file.

Screenshot 2024-05-17 at 3 16 13 AM

Running Force Resolve should rectify this problem. There shouldn't be a need to manually edit this.

from firebase-unity-sdk.

runette avatar runette commented on September 23, 2024

Hey @runette, the ndkVersion "**NDKVERSION**" should already exists within the mainTemplate.gradle once the project is created. Not sure how it's missing in your gradle file.

As you can see from the relevant file from the Test Application I created for the other issue #1025 - The file created by the SDK in this project which was a clean build and I accepted all of the defaults - did not have that line

https://github.com/runette/Firebase_Test/blob/master/Assets/Plugins/Android/mainTemplate.gradle

from firebase-unity-sdk.

runette avatar runette commented on September 23, 2024

Although - weirdly - the mainTemplate.gradle.backup file - that I think is created by the process that updates out of date entries in mainTemplate (e.g. compileSdkVersion => compileSdk ) DOES have that line. I am not sure if that process is yours or Unity's ?

https://github.com/runette/Firebase_Test/blob/6000/Assets/Plugins/Android/mainTemplate.gradle.backup

It looks a bit like edm4u has updated the entry and that other process has deleted it ??

from firebase-unity-sdk.

runette avatar runette commented on September 23, 2024

I did try deleting that line from mainTemplate.gradle and then running Force Resolve and it did nothing.

from firebase-unity-sdk.

argzdev avatar argzdev commented on September 23, 2024

That's really odd, let me do some more testing. Not sure if this is going to do anything different, but what happens if you delete the mainTemplate.gradle entirely then run Force Resolve? Somehow I think the Force Resolve might not be triggering for some reason.

from firebase-unity-sdk.

runette avatar runette commented on September 23, 2024

I deleted all of the gradle files and ran Force Resolve and no joy but then I built the app and the correct (except for the problems in #1025 ) file was created.

I am going to close this bug - since my feeling is that the problem is Unity related and the fix is to delete the files.

from firebase-unity-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.