openframeworks / openframeworks/openFrameworks
Android Studio for all of CPP files: This File is not part of the project...
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
After trying the latest release of oF I switched to the master branch and am still having the same problem:
Using the project generator I convert an Android example to Android Studio. Then loading into Android Studio I get for all oF cpp files: "This file is not part of the project. Please include it in the appropriate build file..." I'm not an Android Studio expert and it is not obvious to me how to move forward as CMakelists.txt doesn't exist etc.
Android Studio compiles the code fine but practically every line is marked as an error in the IDE as all the references are broken.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem by using the project generator to convert an Android example and opening the result in Android Studio. Inspect the generated Android project and its build files, noting that CMakeLists.txt is absent. Done means openFrameworks C++ files are recognized by the IDE without widespread false errors while the project still compiles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100