Add android-builder wrapper command
This commit is contained in:
@@ -39,6 +39,7 @@ Available commands:
|
||||
- `android-builder setup`
|
||||
- `android-builder doctor`
|
||||
- `android-builder new MyApp`
|
||||
- `android-builder wrapper`
|
||||
- `android-builder new MyApp --template empty`
|
||||
- `android-builder build`
|
||||
- `android-builder export`
|
||||
@@ -74,3 +75,10 @@ The project generator and the generated projects themselves do not need a system
|
||||
- The project is designed around Termux.
|
||||
- `android-builder setup` installs the SDK command-line tools and platform packages into `~/android-sdk`.
|
||||
- `android-builder export` copies the built APK into `~/storage/documents` after storage permission is granted.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
- If `android-builder export` says storage is not configured, run `termux-setup-storage`, grant the permission prompt, then rerun `android-builder export`.
|
||||
- If `android-builder build` says `./gradlew` is missing, regenerate the project with `android-builder new <ProjectName>`.
|
||||
- If you have an existing Android project and want to add wrapper files, run `android-builder wrapper` from the project root.
|
||||
- If Android SDK packages are missing, rerun `android-builder setup`.
|
||||
|
||||
Reference in New Issue
Block a user