NativeScript / NativeScript/nativescript-cli

[android] build files not included

Open
#5,270 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

In one plugin i am working on (opencv) i need a CMakeLists.txt and a .cmake file. Those files are referenced in the build.gradle
Now my issue is that even if i put those files in my plugin/platforms/android or app/App_Resources/android those files are not copied in the build platforms/android/app folder and thus do not get picked up by the build.

If i copy them manually it worked.

Could you add support for those files (or maybe any file) from a plugin or an app?

THanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the build with the plugin or app files under plugin/platforms/android or app/App_Resources/android, then inspect how they are copied into platforms/android/app and how build.gradle references them. Done means the CMakeLists.txt and .cmake files are included automatically and the Android build picks them up without manual copying.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
build-system, cli, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.