Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Nov 19, 2024
1 parent f70ea24 commit 287c12f
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,27 +118,7 @@ sudo chroot alpine-rootfs ndk-pkg update
sudo chroot alpine-rootfs ndk-pkg install curl --target=android-35-arm64-v8a --static
```

## Install ndk-pkg via cURL

```bash
curl -LO https://raw.githubusercontent.com/leleliu008/ndk-pkg/master/ndk-pkg
chmod a+x ndk-pkg
./ndk-pkg setup
```

Please try the following URLs if above url is not reachable:

- https://gitee.com/fpliu/ndk-pkg/raw/master/ndk-pkg
- https://cdn.jsdelivr.net/gh/leleliu008/ndk-pkg/ndk-pkg

## Install ndk-pkg via git

```bash
git clone --depth 1 https://github.com/leleliu008/ndk-pkg
ndk-pkg/ndk-pkg setup
```

## Install ndk-pkg in [WSL](https://docs.microsoft.com/en-us/windows/wsl)
## Using ndk-pkg via [WSL](https://docs.microsoft.com/en-us/windows/wsl)

**Note** :

Expand Down Expand Up @@ -173,6 +153,26 @@ chmod a+x ndk-pkg
./ndk-pkg setup
```

## Install ndk-pkg via cURL

```bash
curl -LO https://raw.githubusercontent.com/leleliu008/ndk-pkg/master/ndk-pkg
chmod a+x ndk-pkg
./ndk-pkg setup
```

Please try the following URLs if above url is not reachable:

- https://gitee.com/fpliu/ndk-pkg/raw/master/ndk-pkg
- https://cdn.jsdelivr.net/gh/leleliu008/ndk-pkg/ndk-pkg

## Install ndk-pkg via git

```bash
git clone --depth 1 https://github.com/leleliu008/ndk-pkg
ndk-pkg/ndk-pkg setup
```

## ~/.ndk-pkg

**Caveats**: Please do NOT place your own files under `~/.ndk-pkg` directory, as `ndk-pkg` will change (remove, modify, override) files under `~/.ndk-pkg` directory without notice.
Expand Down

0 comments on commit 287c12f

Please sign in to comment.