NativeScript / NativeScript/nativescript-cli

[android]app wont build if "app" is a symlink

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

还没有人认领这个 Issue。

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

描述

I am using the latest of everything
My app folder is a symlink. If i build on android like that the app will build but crash on run.
The reason is that the NativescriptAcivity.java is not generated.
If i modify my nsconfig for the app to point to the actual real folder, the build works.

I would really need for it to work just fine with symlink. If i use the real folder it has other bad side effects.

贡献指南

打开贡献指南

从这里开始

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

调研方向

从读取 nsconfig 应用位置并生成 NativescriptAcivity.java 的 Android 构建路径开始。使用作为符号链接的 app 重现一次构建,将其与使用真实文件夹的构建进行比较,并追踪生成被跳过的原因;当符号链接构建能够生成 activity 且应用成功运行时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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