Re: [android-building] com.google.android.datamessaging.xml not found when build android2.1

92 views
Skip to first unread message

Magnus Bäck

unread,
Nov 13, 2012, 10:30:03 AM11/13/12
to android-...@googlegroups.com
On Tuesday, November 13, 2012 at 02:45 EST,
lanyuflying <lanyu...@gmail.com> wrote:

> this is the config:
>
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=2.1-update1
> TARGET_PRODUCT=sim

I'm pretty sure you don't actually want to build the simulator.

> TARGET_BUILD_VARIANT=userdebug
> TARGET_SIMULATOR=true
> TARGET_BUILD_TYPE=debug

Do you really need the debug build type?

> TARGET_ARCH=x86
> HOST_ARCH=x86
> HOST_OS=linux
> HOST_BUILD_TYPE=release
> BUILD_ID=EPF21B
>
> the error is :
> make: ***no rules to create
> “out/debug/host/linux-x86/pr/sim/system/etc/permissions/com.google.android.datamessaging.xml,
> to need
> vendor/google/frameworks/datamessaging/com.google.android.datamessaging.xml
>
> there is not com.google.android.datamessaging.xml in that place.

Indeed, the stock Android 2.1 source code doesn't contain any git at
vendor/google.

> How can i do with it? I know the file is for shared library from third
> party, but why need it when compile the system? and why there is
> noting in that source place?

Exactly which source code are you trying to build? Which makefile refers
to com.google.android.datamessaging.xml?

--
Magnus Bäck
ba...@google.com

Magnus Bäck

unread,
Nov 14, 2012, 10:24:35 AM11/14/12
to android-...@googlegroups.com
On Wednesday, November 14, 2012 at 01:35 EST,
lanyuflying <lanyu...@gmail.com> wrote:

> I want to debug opencore of this version.
>
> so I want to build a emulator, so I select the "simulator", and select
> userdebug.

emulator != simulator

If you want the emulator, select a product configuration that's based on
the emulator (like 'generic' or, I believe, 'full').

--
Magnus Bäck
ba...@google.com
Reply all
Reply to author
Forward
0 new messages