Comments (8)
It looks like there's a bug in folly on OSX -- you can fix it by going to third-party/folly/folly/portability/Malloc.h and adding #include <stddef.h>
. I'll see if I can get folly patched tomorrow.
from redex.
Looks like issue #7. Try brew install openssl && brew link --force openssl
from redex.
@ijustyce zipalign is part of the build tools from the Android SDK, make sure it's in your PATH.
from redex.
i solve it by sudo brew link openssl --force , but appears other error, here is the error log, and my os is mac 10.11.4
./../folly/portability/Malloc.h:27:12: error: unknown type name 'size_t'
extern "C" size_t malloc_usable_size(void* ptr);
^
1 error generated.
make[4]: *** [portability/Malloc.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
from redex.
@bertmaher thank you,but when i run redex app-android_test-debug.apk -o ./app-1.apk
in terminal , it tell me : Optimization warning: Pure abstract class passed to encode: 12 occurrences
Couldn't find zipalign. Your APK may not be fully optimized. how to fix 'Couldn't find zipalign' thanks in advance
from redex.
The "optimization warning" is no problem (it's more for us developers, I probably should have disabled it). The zipalign thing is an optimization step that's usually done by the default toolchain -- you can fix that by adding zipalign to your path, so for example, I have my android SDK tools installed at /opt/android_sdk/build-tools/23.0.3
, so I'd do:
export PATH=/opt/android_sdk/build-tools/23.0.3:$PATH
before running redex.
from redex.
thanks, it make my app less 0.3M
from redex.
IMHO this should not been closed since this is still broken
from redex.
Related Issues (20)
- RedexRunException: redex-all crashed with exit code 1! HOT 1
- Is there any ways to debug with source code in redex project ? like make some breakpoint in LocalDce.cpp file then debug that file. HOT 1
- configure: error: cannot run C++ compiled programs
- Build Redex Error ,object of type '_io.BufferedReader' has no len() HOT 1
- Error: "Inconsistency found in Dex code " in third party sdk code. HOT 4
- Possibly a DexMethod::set_deobfuscated_name issue? HOT 2
- After redex, some content of drawable file becomes "<x/>" HOT 6
- run autoreconf -ivf && ./configure && make failed HOT 3
- run autoreconf -ivf && ./configure && make failed HOT 5
- ExitCode::exception /redex/libredex/ControlFlow.h:1375 HOT 2
- run autoreconf -ivf && ./configure && make error on mac os HOT 2
- run IRTypeChecker (run_verifier) failed HOT 4
- run IRTypeChecker (run_verifier) failed #808 HOT 3
- Mac OS M1 Build failed. HOT 1
- run IRTypeChecker failed HOT 1
- run pass after apk become larger 2.7M
- Is there any advice to recover crash stack trace line number in android firebase platform after use "StripDebugInfoPass"? HOT 2
- make failed. HOT 2
- Evaluate Profile-Guided Optimization (PGO) and LLVM BOLT
- Sample Android Redex APK Crashing: android.view.InflateException: Error inflating class com.google.android.material.textfield.TextInputLayout HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redex.