
Android
文章平均质量分 55
Linux-Torvalds
生活总是一分为二的。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android DEX Preopt prebuilt apks
--- a/core/prebuilt.mk+++ b/core/prebuilt.mk@@ -16,6 +16,16 @@ $(error dont use LOCAL_PREBUILT_JAVA_LIBRARIES anymore LOCAL_PATH=$(LOCAL_PATH)) endif +ifneq ($(filter APPS,$(LOCAL_MODULE_CLASS))原创 2014-05-05 11:11:13 · 1472 阅读 · 0 评论 -
Setup android build environment in Ubuntu 14.04
Initializing Android build environment in Ubuntu 14.04 is easy and simple.Just invoke原创 2014-05-05 14:14:03 · 2320 阅读 · 0 评论 -
Exception in thread "main" java.lang.NoClassDefFoundError:
When we specify a package name in our Java code, e.g. the following code原创 2014-05-18 15:28:23 · 1185 阅读 · 0 评论 -
Execute multiple commands by outputstream in Java
public class MyProcess { public static void main(String[] args) { try { // bash, su or any other command invoke a shell interpreter // we execute the commands sent from outputstream by this原创 2014-05-18 13:00:32 · 731 阅读 · 0 评论 -
Android DEX preopt prebuilt APK
AOSP编译APK的时候,默认情况下,对于prebuilt的APK,没有preopt。preopt的过程是把APK里面的.class分离出来,成为一个单独的.odex,加快Dalvik下APK的安装以及代码的执行速度。下面对于core/prebuilt.mk的补丁可以实现对prebuilt的APKpreopt的功能。--- a/core/prebuilt.mk+++ b/core/prebuilt原创 2016-06-23 12:41:28 · 863 阅读 · 0 评论