Extra file showing in android studio after cloning project - android-studio

Since a month, I have been cloning the repo by copying link and pasting in my android studio and then I would checkout the "MySpace" branch and continue my work there. But now when I checkout that branch "repository" module gets automatically added there but it is not present in github after switching to that branch.
repository file showing in mySpace branch
repository file not present in GitHub MySpace branch
Repository file is present in master branch in both Github and android studio(that's not an error, that was added by team).
repository file present in master branch
repository file in master branch in android studio
This is the error I am getting in android studio after trying to run the mySpace branch
android studio error log

Related

Move android studio project to an already created Github Repository

I made an android studio project and I also have an empty Github repository already created where I am a contributor. How do I move my android studio project to this already created repository?
I tried but I am not able to achieve this.
Any ideas?
Thanks.
The simplest way to do that is not to bring your project into an existing git repository, but to bring git to your project.
At the root of your project:
git init
git remote add origin <url>, where <url> is your GitHub repository's URL.
git branch --set-upstream-to origin/master to setup your default branch and remote.
I managed to solve the problem. Instead of moving the project using android studio to an existing Github repository, I did it locally using the command line. The steps I followed are here. Now its perfect and further commits can be now done directly from the android studio.

Android ndk library not push perfectly to the github

I'm working on a android studio project which has NDK library. I clone the project:
git clone https://github.com/Kitt-AI/snowboy.git
follow the instruction for making swig and after that I modify it little bit and I like to commit it to my own repository in GitHub.
but the problem is after I make a change to the project and try to commit it, it seems not all file committed completely because when I clone it from my repository it's give me this error
Error:Could not list contents of '/Users/xxxxx/test1/SnowboyAlexaDe/src/main/jniLibs'. Couldn't follow symbolic link.
any help would be appreciate.

Version Control GIT-Commit is showing no changes

In Android Studio, when I'm trying to commit, it is showing No Changes. I have done a lot of changes since my last commit, it's been almost 20 days from my last commit. I don't why it's not detecting changes.
Due to no commits, push is also not working.
I'm getting the below error when I open version control in android studio
Found the problem.My Git Index File Was Corrupted.
Found solution in below link.
Found solution here
Thank You for your help
This is for anyone who has GIT working in Android Studio's terminal but not directly in Android Studio -
In my case, I was able to see the changes and new files list in the terminal when using Git commands (like git status or git add --all) but when I tried to commit by going to GIT -> Commit in Android Studio, it showed - No changes to commit when I clearly had changes to commit.
The solution which worked for me: Try to check if Git and Github are enabled in Android Studio. (It was enabled in my case, however, I disabled it and then again enabled both and restarted Android Studio and it worked.
File -> Settings -> Plugins -> (search for git) -> make sure it is checked (if it is already checked, uncheck and then check again) and click OK
Now, restart Android Studio

Android Studio error pushing to Github

Hello
I have a project in my Windows PC in Android Studio 2.3. I'm trying to Share my project on Github. I enabled the use of Git and use the Share Project on Github option, after that option successfully create a new Repository in my Github account but the initial push failed and states that it could not found the repository, and I'm checking the repository was created successfully... Any idea of what it is happening?
Comments:
Settings -> Version Control -> Github I checked the Test option and the host, Login and Password seems to be correctly.
Settings -> Version Control -> Git I checked the Test option and it seems to be correctly.

Android Studio Git not updating Remote

I updated Android Studio to 2.2.2 and now my source files
are not being updated in the remote Git repository.However my .idea and .gradle folders are.
Why would this be?
How can I get the source files to be pushed as well?
I get this message at the bottom of Android Studio
Push successful Pushed 1 commit to master/t
t being by branch but twhen I check on Github on the web there are no changes.

Resources