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(安卓)穿山甲广告接入注意事项
  2. android eclipse 报error loading /syste
  3. 【Android】从无到有:手把手一步步教你构
  4. Android(安卓)studio 一直卡在Gradle:Bui
  5. android SharedPreferences 记录数据
  6. Android(安卓)ApiDemos示例解析
  7. Android官方下拉刷新控件 SwipeRefreshLa
  8. Android(安卓)开发第四天
  9. Firebase Crashlytics Sdk接入流程(Androi
  10. Android(安卓)在低版本sdk中没有getSuppo