NativeScript / NativeScript/nativescript-cli

[android] build files not included

未关闭
#5,270 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 plugin/platforms/android 或 app/App_Resources/android 下的插件或应用文件重现构建,然后检查它们如何被复制到 platforms/android/app,以及 build.gradle 如何引用它们。当 CMakeLists.txt 和 .cmake 文件被自动包含,并且 Android 构建无需手动复制即可获取它们时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, javascript
领域
build-system, cli, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。