Giter VIP home page Giter VIP logo

Comments (12)

KChernenko avatar KChernenko commented on July 20, 2024

@AndroidDeveloperLB I've just deleted lines in the build.gradle:

signingConfigs {
        release {
            storeFile file(RELEASE_STORE_FILE)
            storePassword RELEASE_STORE_PASSWORD
            keyAlias RELEASE_KEY_ALIAS
            keyPassword RELEASE_KEY_PASSWORD
        }
  }

And
signingConfig signingConfigs.release
In the buildTypes section.

from materializeyourapp.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 20, 2024

I still have this issue. :(

from materializeyourapp.

KChernenko avatar KChernenko commented on July 20, 2024

@AndroidDeveloperLB try clean and rebuild project.

from materializeyourapp.

KChernenko avatar KChernenko commented on July 20, 2024

@AndroidDeveloperLB just have a look: https://gist.github.com/anonymous/c617a07c601009ae8270

from materializeyourapp.

afflick avatar afflick commented on July 20, 2024

Thanks @KChernenko !

from materializeyourapp.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 20, 2024

@KChernenko What to look there for? I've used the normal import via Android-Studio, and it failed to import, so it won't even show the opened project.

from materializeyourapp.

KChernenko avatar KChernenko commented on July 20, 2024

@AndroidDeveloperLB after Android Studio shows you this error, you should press ok button, and find&fix build.gradle in the project hierarchy tree.

from materializeyourapp.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 20, 2024

@KChernenko Pressing the OK dialog will close it and return to the previous screen I had (previously opened project, for example), so I can't choose the build.gradle file.
Do you mean I should edit the file outside of Android-Studio? This isn't needed for any repo. Why does it occur here?

from materializeyourapp.

afflick avatar afflick commented on July 20, 2024

@AndroidDeveloperLB if you are using the clone project from Github, it should already be downloaded. After you press OK, go to "open existing project" in the Android Studio start screen, you will have to navigate to the folder it saved the repo and open it again. Once you have it open you can apply the changes in the build.gradle file.

from materializeyourapp.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 20, 2024

After double importing (which I don't understand why it's needed), I see the "build.gradle" quite minimal. It does lack some important things. It doesn't even have "buildTypes"...
How come?
How do I add the buildTypes that you wanted? In a normal app, I see both "defaultConfig" and "buildTypes" being set.
Why does the configuration of the project miss all those things?

from materializeyourapp.

afflick avatar afflick commented on July 20, 2024

@AndroidDeveloperLB There is several build.gradle files within the project, look through every folder in the tree and you will find the one with the defaultConfig and buildTypes in it (I'm not at my PC with Android Studio atm sorry). Once you have put the right values in it make sure you clean and rebuild the project.

from materializeyourapp.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 20, 2024

Oh, for some reason this file is missing from the "gradle scripts" category. After deleting the problematic lines, all went well.
How could this be?
Also, may I ask something about the guidelines?
What should I do if I can't find anything to put on the title of the nav-drawer, and for the icons of the items?

from materializeyourapp.

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.