Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/warnyul/docker-redex
Facebook's bytecode optimizer for Android apps.
https://github.com/warnyul/docker-redex
android-sdk apk-optimizer bytecode-optimizer docker facebook-redex redex
Last synced: 23 days ago
JSON representation
Facebook's bytecode optimizer for Android apps.
- Host: GitHub
- URL: https://github.com/warnyul/docker-redex
- Owner: warnyul
- License: apache-2.0
- Created: 2020-04-13T14:36:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T11:45:07.000Z (7 months ago)
- Last Synced: 2024-04-14T11:35:21.913Z (7 months ago)
- Topics: android-sdk, apk-optimizer, bytecode-optimizer, docker, facebook-redex, redex
- Language: Shell
- Homepage: https://fbredex.com/
- Size: 28.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-redex
![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/warnyul/redex/latest) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/warnyul/redex/latest) ![MicroBadger Layers (tag)](https://img.shields.io/microbadger/layers/warnyul/redex/latest) [![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](LICENSE)Docker image for [Facebook's ReDex](https://fbredex.com) Android Bytecode Optimizer.
## Usage
You can run ReDex with a single command:
```
docker run --rm -v "$(pwd)":"$(pwd)" -w "$(pwd)" warnyul/redex redex -o ./redex.apk ./myapp.apk
```If you would like to pass `android.jar` or `proguard` files to redex, you could do it without install the SDK on your machine.
You can find Android SDK in /opt/android-sdk-linux folder```
docker run --rm -v "$(pwd)":"$(pwd)" -w "$(pwd)" warnyul/redex redex \
-o ./redex.apk \
-j /opt/android-sdk-linux/platforms/android-34/android.jar \
-P /opt/android-sdk-linux/tools/proguard/proguard-android-optimize.txt \
./myapp.apk
```## Build
```
git clone https://github.com/warnyul/docker-redex.git
cd docker-redex
# Use -u to update redex to the latest commit before build it.
./build.sh -u
```All image will be tagged with the redex's commit hash to identify builds.
## License
Copyright 2020-2024 Balázs Varga
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.