make snod (make system no dependencies)

来源:互联网 发布:mac imovie怎么保存 编辑:程序博客网 时间:2024/06/11 18:59
make snod (make system no dependencies) 
(http://source.android.com/source/known-issues.html) 
make snod and emulator builds. 
Symptom: When using make snod (make system no dependencies) on emulator builds, the resulting build doesn't work. 

Cause: All emulator builds now run Dex optimization at build time by default, which requires to follow all dependencies to re-optimize the applications each time the framework changes. 

Fix: Locally disable Dex optimizations with export WITH_DEXPREOPT=false, delete the existing optimized versions with make installclean and run a full build to re-generate non-optimized versions. After that, make snod will work. 
(end) 
原创粉丝点击