54

That moment when you fixed all weird errors in Android Studio by frankensteining two projects together.

Comments
  • 1
    How stupid. Spelled resources wrong..
  • 0
    So what errors did you try to fix?
  • 1
    @greenrobo I put into the "Domain Name" the package name of my app which resulted in the format appname.domainname.com.appname after I renamed everything the R.jqva was not generated for my package but without one and I got an error for "package ;" in R.java.
    I tried a lot (e.g. deleting build, app/build and ~/.gradle)

    Then I created a new project with no activities and copied everthing neccessary over to it. Then I gotvagain errors. This time with my ressources because A.Studio could not find certain variables which where specific to the CoordinatorLayout. I then compared the Libs in the app.iml as well as the build gradle and after I copied all dependencies from to old build.gradle to the new one everthing worked fine.
  • 1
    @LinusCDE Ohh, been there. Basically changing package name gives very much trouble everywhere you go on AS. That stuff is irritating
Add Comment