MODULE.TARGET.APPS.BackupRestore already defined by development/samples/BackupRestore. Stop.

3,593 views
Skip to first unread message

ag ag

unread,
Feb 15, 2011, 2:24:20 PM2/15/11
to Android Building
hi
Just downloaded the gingerbread source code form git using "repo init -
u ......-b gingerbread"
but when try to make (ubuntu 64 bit : 10.04 kernel :2.6.32 ) after
doing envsetup getting this error :

root@ag-laptop:~/mygin# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.1
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
build/core/base_rules.mk:158: *** Ginderbread/mygin/development/
samples/BackupRestore: MODULE.TARGET.APPS.BackupRestore already
defined by development/samples/BackupRestore. Stop.

Could anyone please help me to resolve it ? thanks in advance.

Ying Wang

unread,
Feb 15, 2011, 2:31:04 PM2/15/11
to android-...@googlegroups.com
As it says, you have 2 copies of BackupRestore in your source tree.


--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

ag ag

unread,
Feb 15, 2011, 2:37:16 PM2/15/11
to android-...@googlegroups.com
thanks Wang,
its through now

Janardhanam Kj

unread,
Jun 23, 2014, 9:48:53 AM6/23/14
to android-...@googlegroups.com
Hi ,

The Same application(BackupRestore ) package maybe  in two places of the android source package. Remove either one package. It may be compile. In My case i put the same application package in two places.the same error came for me. After removing one package i can able to build the system image.

Regards,
Jana
Reply all
Reply to author
Forward
0 new messages