`

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即可,也可以直接用我转载的资源 ...

    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 -...

    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 ...

    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 ...

    USB Device Over Current Status Detected维修思路

    USB Device Over Current Status Detected! System will Shut Down After 15 Second!这个应该是华硕主板的通病,一般都是跳线未设置好或USB电源短路造成的,提供一张维修方法,仅供参考。

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

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

    Job-1_ABAQUS_

    abaqus inp 文件源码,需要的可以下载

    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...

    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 ...

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

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

    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就可以完成升级

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

    centos7_XFS_报Corruption of in-memory data detected错误修复

    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 ...

    eac3to V3.17

    * video without framerate information: new framerate is written to bitstream * remaining non-fixed audio delay is now shown in log * command prompt colors are restored after eac3to has run through * ...

    Fluent中常见报错及解决办法

    1.双击无法打开 cas 或者路径出现乱码;...8.Reverse flow infaces on pressure-outlet-X 9.temperature limited to 1.0000e+00 10.fluent received a fatal signal (SEGMENTATION VIOLATION) 11.……

    Serial Port Server with sample code

    It not only provides common funtions about serail communications, but also ;; provides USB serial port converter detecting/auto-connecting. When the USB ;; device changing is detected, the CDC serial...

Global site tag (gtag.js) - Google Analytics