android / android/architecture-templates

How to use it in Linux?

Open Beginner friendly
#186 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3.2k
Forks
384
PR merge metrics
No merged PRs in 30d

Description

**Hi there, how can I use this in my WSL (Ubuntu Distro)?**

When I run it, it produces these errors:
```shell
saleh@mylife:~/architecture-templates$ bash ./customizer.sh com.company.test TestData TestProject
./customizer.sh: line 17: $'\r': command not found
./customizer.sh: line 19: syntax error in conditional expression
'/customizer.sh: line 19: syntax error near `]]
'/customizer.sh: line 19: `if [[ ${BASH_VERSINFO[0]} -lt 4 ]]
```

Contributor guide

Open the contributing guide

Research direction

Start with customizer.sh, especially lines 17 and 19, and reproduce the command in the issue under WSL Ubuntu. Check the script's behavior around the reported line-ending and conditional-expression errors; done means the command runs without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, ubuntu
Domain
cli, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.