`

user tag detected on new module - user tags are only supported on legacy modules

 
阅读更多
build/core/base_rules.mk:102: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.
解决办法如下:
1、把android系统代码中的每一个Android.mk的 “LOCAL_MODULE_TAGS := user”替换为 “LOCAL_MODULE_TAGS := optional”,可以在系统根目录下输入下面的命令一起替换:
"find ./ -exec grep -l "LOCAL_MODULE_TAGS := user" {} \; -exec sed -i.bak  s/"LOCAL_MODULE_TAGS := user"/"LOCAL_MODULE_TAGS := optional"/g {} \;"
2、把gcc 4.4降级到gcc 4.3,因为 4.4 会报错:
CODE:
sudo apt-get install gcc-4.3
sudo apt-get install g++-4.3
rm /usr/bin/gcc
rm /usr/bin/g++
ln -s /usr/bin/gcc-4.3 /usr/bin/gcc
ln -s /usr/bin/g++-4.3 /usr/bin/g++

参考于:
http://android.modaco.com/content-page/327220/news-gingerbread-comes/page/100/
分享到:
评论

相关推荐

    Bochs - The cross platform IA-32 (x86) emulator

    - converted the sound output module stuff to the new 'soundmod' plugin - SF patches applied [3164945] hack to compile under WIN64 by Darek Mihocka and Stanislav [3164073] Fine grain SMC ...

    ST-Link V4.6.0最新版本old st link firmware detected STLinkisnotinDFU

    转载至ST link官方链接 官方是免费下载的,因此不应该所需积分下载,这里动态调分设置为不允许 升级ST-link的官网链接: ...滑到最下面直接download并接受选择Accept即可,也可以直接用我转载的资源 ...

    BURNINTEST--硬件检测工具

    This will error faulty NICs that are not detected by the BurnInTest auto NIC detection mechanism. - Minor change to the 2D memory test when run with the 3D test (multiple large windows) and the ...

    在linux环境下安装anaconda并使用opencv进行人脸识别_face-detected-for-linux.zip

    在linux环境下安装anaconda并使用opencv进行人脸识别_face-detected-for-linux

    squashfs2.2-r2.tar.gz

    6. File duplicates are detected and removed. 7. Both big and little endian architectures are supported. Squashfs can mount filesystems created on different byte order machines. 2. USING SQUASHFS -...

    tsu:在 Termux 上获得 root shell

    tsu A su interface wrapper for Termux Usage: tsu tsu [ -s SHELL ] [-p | -a] [USER] tsu --dbg [ -s SHELL ] [-p | -a] [-E] [USER] tsu -h | --help | --version Options: --dbg Enable debug output -s ...

    squashfs1.3r3.tar.gz

    SQUASHFS 1.3r3 - A squashed read-only filesystem for Linux Copyright 2004 Phillip Lougher (phillip@lougher.demon.co.uk) Released under the GPL licence (version 2 or later). Squashfs is currently ...

    centos7_XFS_报Corruption of in-memory data detected错误.docx

    在Linux系统中,CentOS 7使用XFS文件系统可能会遇到一种特定的错误:“Corruption of in-memory data detected”。这个错误通常表示系统检测到了内存中的数据损坏,这可能是因为不正常关机、硬件故障或者软件问题...

    USB Device Over Current Status Detected维修思路

    ### USB Device Over Current Status Detected 维修思路 在IT硬件维护领域,“USB Device Over Current Status Detected”是一个常见的问题,特别是对于使用华硕主板的用户来说。这个问题通常表现为系统提示“USB ...

    Job-1_ABAQUS_

    **ABAQUS简介** ABAQUS是一款强大的非线性有限元分析软件,广泛应用于机械、土木、航空航天、汽车等工程领域。它提供了全面的建模能力,包括几何建模、网格划分、材料模型以及加载条件设定,可以解决静态、动态、...

    Victoria(硬盘坏道检测工具) v4.69.zip

    大家都知道DOS下的MHDD坏道扫描修复工具吧,而且是英文的,但对于菜鸟来说DOS下是多么麻烦况且还是英文版的,这下好了,出了一款Victoria中文版,他是 windows环境下的桌面级别的坏道扫描修复工具,是真能修复扫描坏...

    acpi控制笔记本风扇转速

    detected in an ElseIf construct. (BZ 453) Fixed a problem with the AmlFilename parameter to the DefinitionBlock() operator. An incorrect output filename was produced when this parameter was a null ...

    installACMModule.zip

    Note that on a version mismatch, the user can still install the module. However, some extra steps may be needed after the installation to get the module installed fully. The steps are not covered here...

    High Precision Ultrasonic Ranging System Platform Based on Peak Detected

    文献:High-Precision Ultrasonic Ranging System Platform Based on Peak-Detected Self-Interference Technique 关键词:自干涉;超声波

    system mechanic Activator v1.0

    work only side by side with this tool. * To register offline, check "Subscribe offline" and check "Reset license information", if you want to extend the "30 days" check "Subscribe until" and choose...

    st link utility工具

    用于解决old ST-LINK firmware detected.do you want to upgrade it?问题 打开stlink utility工具后,kail在跳出do you want to upgrade it的提示,点击yes就可以完成升级

    开机提示USB-Device-over-current-status-Detected后关机1.doc

    ### 开机提示“USB Device Over Current Status Detected”后的解决方案及电脑性能优化方法 #### 核心问题解析 本文主要探讨的是计算机启动时遇到的问题——**开机提示“USB Device Over Current Status Detected”...

    ST-LINK驱动

    debug时候出现NO ST-LINK Detected的错误提示,下了很多 ST-LINK驱动都不好用,这款好用,下载后点击ST-LINK_USB_V2_1_Driver文件夹下的stlink_winusb_install.bat进行安装即可

    HP Virtual User Generator用户指南(11版windows版)

    ### HP Virtual User Generator 用户指南(11版 Windows 版)知识点总结 #### 一、HP Virtual User Generator (VuGen) 概述 **1.1 VuGen 的定义** - **VuGen** 是 HP LoadRunner 的核心组件之一,主要用于创建 ...

    Hybrid Mach-Zehnder interferometric sensor based on two core-of fset attenuators and an abrupt taper in single-mode fiber

    This study proposes a new hybrid Mach-Zehnder interferometric (MZI) sensor based on two core-offset attenuators and an abrupt taper in a single-mode fiber fabricated by a fiber-taper machine and ...

Global site tag (gtag.js) - Google Analytics