NativeScript / NativeScript/nativescript-cli
[android]app wont build if "app" is a symlink
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
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.
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
Start with the Android build path that reads the nsconfig app location and generates NativescriptAcivity.java. Reproduce a build with app as a symlink, compare it with a real-folder build, and trace why generation is skipped; done means the symlink build generates the activity and the app runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, javascript
- Domain
- build-system, cli, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100