redex
redex copied to clipboard
A bytecode optimizer for Android apps
System: Fedora 35 Compiler: g++ (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) Redex commit: `cbf674f6c16d1a08fffa1a54cbb05dce372ad990` The linker fails for `redex-all` by giving the following error ``` /usr/bin/ld: ./.libs/libredex.a(DexHasher.o): in function `std::__cxx11::basic_stringbuf::__xfer_bufptrs::~__xfer_bufptrs()':...
There have been multiple issues, e.g. [1-4], asking whether recent versions of the .dex format will be supported. All these issues were answered rather vaguely and it is not clear...
redex --sign -s debug.jks -a android -p android -c redex.config --android-sdk-path $ANDROID_HOME -P app/proguard-rules.pro -o $app/build/outputs/redex/redex.apk $file 0 redex-all 0x000000010a90ea21 _Z23crash_backtrace_handleri + 81 1 libsystem_platform.dylib 0x00007fff2064dd7d _sigtramp + 29 2...
It seems that IRTypeChecker will trigger on an `INVOKE_SUPER` when called legally on an interface method with a default implementation. I don't have a good minimal reproduction, but it should...
As the title says the D8/R8 project is preparing to use `-source 11 -target 11` for building and shipping. This is a heads up to check if this has any...
当我用redex执行下面的压缩apk命令时候,发现有报错,无法编译通过,求大神解答 redex --sign -s ReDexSample/keystore/debug.keystore -a androiddebugkey -p android -c redex-test/stripdebuginfo.config -P ReDexSample/proguard-rules.pro -o redex-test/strip_output.apk ReDexSample/build/outputs/apk/debug/ReDexSample-debug.apk --android-sdk-path /Users/android_andy/Library/Android/sdk/build-tools/29.0.2 报错信息如下 Traceback (most recent call last): File "/tmp/redex.tqzdAe/redex.py", line 1262, in with_temp_cleanup(lambda:...
``` python3: can't open file '/c/redex-main/build-cmake/C:/redex-main/gen_packed_apilevels.py': [Errno 2] No such file or directory make[2]: *** [CMakeFiles/generated_apilevels.dir/build.make:87: generated_apilevels.py] Error 2 make[1]: *** [CMakeFiles/Makefile2:196: CMakeFiles/generated_apilevels.dir/all] Error 2 ``` My working directory is...
➜ ~ ANDROID_SDK=/Users/zhangyuehuan/Library/Android/sdk redex --sign -s /Users/zhangyuehuan/workspace/500w_android/tool/keystore/m2u/release/m2u.keystore -a m2u -p 123456 -c ~/Desktop/interdex_stripdebuginfo.config -P /Users/zhangyuehuan/workspace/500w_android/app/proguard-rules.pro -o ~/Desktop/app-release-proguardwithr8-stripdebuginfo-interdex.apk /Users/zhangyuehuan/Desktop/tinyApk/rb_2.7.8_origin/M2U-test-normalrelease-2.7.8.20781_x64.apk TRACE_CLASS_FILE= TRACE_CLASS_NAME= Trace settings: TRACEFILE= SHOW_TIMESTAMPS= SHOW_TRACEMODULE= TRACE_METHOD_FILTER= Unimplemented command (skipping): -ignorewarnings...
build_interface_map should ignore non-interface classes, not interface classes. This is a simple logic error.
Hi, I am running redex on an empty config and it appears that Redex increases the size of the apk signficantly ~2MB. The changes are in the dexes. From my...