Last two days i was unable to do a neat eng build for my galaxy note from cyanogen source. I was running into errors like unable to find libUMP.so and libion.so while building exynos hal specifically libgralloc_ump.
I was applying dirty workaround copy libUMP.so and libion.so to libUMP.so and libion.so and build again.
Another neat way to do is add both lib as prebuilt shared library to build system. For that you need to create projects for each and add it to product package.let me show how to do that for libUMP

  1. create a folder named libUMP in external folder.
  2. copy libUMP.so to the folder
  3. create make file named Android.mk
  4. paste the content to Android.mk
    1 2 3 4 5 6 7 8 LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libUMP LOCAL_SRC_FILES := libUMP.so LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := STATIC_LIBRARIES LOCAL_MODULE_SUFFIX := .so include $(BUILD_PREBUILT)
  5. now add libUMP( LOCAL_MODULE value in Android.mk) to your product make file. in my case i will add this line to n7000.mk
    1 2 PRODUCT_PACKAGES += \       libUMP \
  6. repeat same for libion dont forget to replace libUMP with libion also dont forget to copy corresponding library file.

Enjoy ROM building

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. android editText 软键盘enter键图标的设
  2. Android(安卓)debug.keystore的密码
  3. 详解 Android(安卓)的 Activity 组件
  4. android底部栏中间按钮突出
  5. 【Android(安卓)应用开发】Android(安卓)
  6. Android关于java.lang.NoClassDefFoundEr
  7. Android(安卓)如何在XML文件中定义动画
  8. 平时积累(四)
  9. Android(安卓)ViewFlipper的动画
  10. Android快速开发框架