Skip to content Skip to sidebar Skip to footer

Error With Importing Android Project *android Studio*

I am implementing a git project into my android project. When i added the git's project java classes they turned red. I found this question. But the answers don't work for me. A

Solution 1:

Sounds like you are adding new files to a Git project. In this case, AndroidStudio will turn those files red because they haven't been staged or committed yet.

Try navigating to your project and typing git status. You should see those same files as unstaged.

To resolve this, simply stage those files to git (you can use git add -a to add them all at once) and they should turn green. Alternately, you can right click on those red files -> Git -> Add.

Finally, after you've committed the files, they should turn blue.

Post a Comment for "Error With Importing Android Project *android Studio*"