Android ndk library not push perfectly to the github - android-studio

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.

Related

Deleted a repository in github but it still shows up in android studio? how do i remove it?

Initially, i have 2 repositories on git hub. I deleted one and kept the other.
https://imgur.com/a/9Mq1dim
However, android studio still thinks i have both of them.
https://imgur.com/a/wLBwhLZ
How can i fix this?
Thank you.
I think you still have all the repository remotes locally configured.
Try in the repo folder to see the remote repositories :
git remote -v
And delete the remote with :
git remote rm <remote-name>

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.

Error:This project does not use the Gradle build system, even though it was build in gradle system before

My project was build initally with bradle build system in android studio after I switching branches in git I got the following error.
This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.
When i try exetuting gradle task I get error :
Error:Android Source Generator: [project-name] AndroidManifest.xml file not found , Even though I have the file in proper place.
I have been trying to fix this from several days. I have tried re-importing the project, clone the project again. Any help is gladly welcome.
Thanks,

How can I use Visual Studio to work with a Node.js project from an Openshift Git repository?

To work with Openshift's Node.js platform and to be able to pull or push code to it, Openshift provide you with a Git URL. Openshift require the repository to be structured such that the package.json file is located in the project root.
For local development I've been using Visual Studio 2013 with the Node.js Tools successfully. I also have Windows Git tools installed. I am aware of how a Visual Studio project may be added to Git source control.
I would like to use Visual Studio to work with the Git repository that is pulled from Openshift. The way I would intend to set things up initially is to pull the remote Openshift repository into a locally created Visual Studio solution's repository for my new Node.js project, fix any conflicts, then commit and push.
The problem I have is that the way Visual Studio wants to arrange its files relative to the Git project root conflicts with how Openshift wants the files to be arranged in the repository. Specifically, as mentioned, Openshift expects the package.json to be located in the project root. Visual Studio, however, given its Solution/Project hierarchy, wants the Solution folder to be the Git repository root, but with the package.json in the project subdirectory. I have tried running git init within the project subdirectory (such that the repository root is the project folder rather than the parent solution), but then Visual Studio doesn't recognise that the project is under source control any more.
What are the options I have to be able to synchronise between a VS project and Openshift using Git? The only solution that I can think of so far is to just place a package.json file into the root of the solution which VS would ignore, but Openshift would use. This package.json would prefix .js files it references with the project subdirectory, e.g. main: app.js would become main: someproject\app.js.

What is the best way to use OpenCV face recognition on a Windows Store App?

I'm trying to use OpenCV face recognition on a Windows Store App. I could not find any WinRT version of OpenCV except for the branch on github: https://github.com/asmorkalov/opencv/tree/winrt.
But I believe it requires a fresh build. What is to best way to compile this branch from scratch? Is this tutorial the best way?
http://opencv.willowgarage.com/wiki/InstallGuide
Microsft provides a ready-to-build .sln for WinRT here: https://github.com/MSOpenTech/opencv
According to http://code.opencv.org/projects/opencv/wiki/WindowsRT:
Get release source or clone Github repo and checkout '2.4.5' tag:
git clone https://github.com/Itseez/opencv.git
git checkout -b 2.4.5 origin/2.4.5
Build steps for public OpenCV
Open Visual Studio development console.
Setup environment for cross compilation by command "C:\Program Files\Microsoft Visual Studio 11.0\VC\bin\x86_arm\vcvarsx86_arm.bat"
cd /platforms/winrt/
run scripts/cmake_winrt.cmd
run ninja
You should check the web page for the list of prerequisites.

Resources