0

I'm trying to move a project from one computer to another. Here's how I did it:

  1. From the android project folder, I copied the entire folder from the selected application
  2. Put it on g. drive
  3. Opened the entire folder in the Android Studio of another computer

It's all messed up, the structure of the application is wrong, there are plenty of folders...

When I open only the src folder and the build.gradle file, I get the following error:

ERROR: Plugin with id 'com.android.application' not found.

MyApp Folder (These are all the files that are in the project folder):

Image

What does it look like when I load it:

enter image description here

If you can tell me exactly which files and folders to load, I unfortunately can't access the first computer now so all I have is that folder on the drive.

Niklaus
  • 159
  • 1
  • 2
  • 11

2 Answers2

3

Close project from the android studio and removing .idea folder and *.iml files, and Then opening project and build.

Mohammad Fallah
  • 976
  • 11
  • 14
1

Try delete the build folder in your project then clean the project and then rebuild it.Make sure your Android studio is equal or higher version then your old computer.If it doesn't work then refer the below link

Error:(1, 0) Plugin with id 'com.android.application' not found

Stephan John
  • 331
  • 1
  • 2
  • 11
  • What should I choose from the first picture? – Niklaus Sep 28 '19 at 19:00
  • Yes ... In first image delete build folder you can find this in app -> build location , then rebuild the project in Android studio now the build folder will be create again. – Stephan John Sep 29 '19 at 00:56