I have two android projects. One is the login and membership screen and the other is my main project. I did both separately, in case it would be okay to combine them later, but I realized that I made a big mistake. When I tried to combine the two, it started giving errors all the time and I couldn’t do it. Gradle files were probably missing, but I’m very confused. Can anyone help me how to do it easily?
Error:(1, 0) Plugin with id ‘kotlin-android-extensions’ not found
There is currently no easy option to "combine" two projects like to merge them without exceptions. But you can do the following:
The easiest way to combine two projects is to take the smaller project and copy all the files in
/drawableto the other project.
Then I would look up all files in
/valuesand copy the values if you changed them.
After that you should look at the
Mainfestand see wether you made changes there and transfer them. This will make most of the errors not come up because you just copied all the classes.
If you get the error anyway then go to your gradle files (
build.gradlefor project and module and
settings.gradleif you use android studio bumblebee or newer) and check if there is any plugin or line you have in one project and not in the other and then add that accordingly.
Answered By – TIMBLOCKER