Giter Club home page Giter Club logo

Comments (9)

J0Nreynolds avatar J0Nreynolds commented on June 16, 2024

Hi @sadqiang, I'd like to try to help you with this problem, but I'm not an expert with Android Studio. However, I do see your editor has a message informing you to sync your project. Have you tried that?

from androidopencvcamera.

sadqiang avatar sadqiang commented on June 16, 2024

Yes. I have tried it. Nothing changes.

from androidopencvcamera.

J0Nreynolds avatar J0Nreynolds commented on June 16, 2024

Have you tried googling the issue or anything? I feel like this issue is something that people may run into for projects other than this one. Perhaps take a look at this.

from androidopencvcamera.

J0Nreynolds avatar J0Nreynolds commented on June 16, 2024

@sadqiang, I've managed the reproduce the problem on my Windows partition - I'll see if I can find a way to fix it.

from androidopencvcamera.

sadqiang avatar sadqiang commented on June 16, 2024

I attempted to follow the accepted answer in your link but I have no module to select as the drop down has nothing.

image

from androidopencvcamera.

J0Nreynolds avatar J0Nreynolds commented on June 16, 2024

Hi @sadqiang. Please pull the new version of the repo. I apologize as one of my recent commits accidentally removed the settings.gradle file, which is why the app module is missing.

from androidopencvcamera.

J0Nreynolds avatar J0Nreynolds commented on June 16, 2024

One last thing, for Windows, make sure you are careful with the format of strings you use in CMakeLists.txt. You need to use forward slashes between directories, and backslashes should only be used to escape whitespace characters. Example:

C:\Users\Jonathan Reynolds\Documents\GitHub\AndroidOpenCVCamera

becomes set(pathToProject C:/Users/Jonathan\ Reynolds/Documents/GitHub/AndroidOpenCVCamera)

from androidopencvcamera.

sadqiang avatar sadqiang commented on June 16, 2024

Could you let me know, what are all the tools needed to build this project? I have no Git.exe installed. I have Android NDK copied to the c:\ but I have not configured the PATH yet.

image

from androidopencvcamera.

J0Nreynolds avatar J0Nreynolds commented on June 16, 2024

For me, I just had to install Android NDK and CMake. When I built and ran on Windows a short bit ago, Android Studio gave me the option to install them easily from the Event Log. Open the Event Log view in the bottom right and see if you have the same options after you sync or build.

I believe you should also be able to do this by yourself through the SDK manager. Just click Tools -> SDK Manager. Then, click SDK Tools. You can see an example with NDK and CMake installed below:

screen shot 2018-08-03 at 9 48 51 pm I would keep trying to sync/build until success, then try running the application.

You may want to start clean by re-cloning the repo - it's possible you've accidentally misconfigured the project, as it was not this difficult for me on Windows.

Also, in general, the git and other VCS settings shouldn't matter.

from androidopencvcamera.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.