Compile problem after repo sync.

by Gani Bhagavathula » Tue, 28 Apr 2009 12:34:09 GMT


Sponsored Links
 This morning, I did a repo sync.  I got an error with that which says
-

------------------------------------------------------------------------------------------------------------------------------------
Fetching projects: 100% (114/114), done.
error: You have local changes to 'Android.mk'; cannot switch branches.
Syncing work tree: 100% (113/113), done.

error: frameworks/base/: platform/frameworks/base checkout refs/
remotes/korg/cupcake.

-------------------------------------------------------------------------------------------------------------------------------------

and then when I try to compile, I get an error which is related...

 No rule to make target `vendor/google/frameworks/maps/
com.google.android.maps.xml'

I guess I have something f'ed up in terms of I checked out cupcake
branch, and now I am trying to get something from the main branch or
something.

Do I have any other choice apart from redo the original setup and sync
again?

Regards,
Gani
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Compile problem after repo sync.

by Jean-Baptiste Queru » Tue, 28 Apr 2009 12:38:49 GMT


 Sounds like you've modified frameworks/base/Android.mk

repo status and repo diff will confirm that.

If you don't want those changes, cd to frameworks/base and run 'git
reset --hard' (warning - this'll delete all your uncommited local
changes in all of frameworks/base).

JBQ

On Mon, Apr 27, 2009 at 9:33 PM, Gani Bhagavathula





-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Compile problem after repo sync.

by Gani Bhagavathula » Wed, 29 Apr 2009 13:30:37 GMT


 Jean:

Thanks.  The first error during repo went away after following your
suggestion.  I applied the patch again after doing the repo sync.

However, the second error during compile -  No rule to make target
`vendor/google/frameworks/maps/com.google.android.maps.xml' still
continues.  Anyone have any tips for me?

Gani




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Compile problem after repo sync.

by Jean-Baptiste Queru » Wed, 29 Apr 2009 13:36:12 GMT


 It sounds like you're building a configuration that relies of
proprietary Google files that aren't distributed as part of the
Android Open-Source Project. I can't help with that at the moment.

JBQ

On Tue, Apr 28, 2009 at 10:30 PM, Gani Bhagavathula







-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Compile problem after repo sync.

by adam » Thu, 30 Apr 2009 02:22:34 GMT


 ani Bhagavathula:

What I have been doing (which I have no idea is correct) is to comment
out the PRODUCT_COPY_FILES variable in build/target/product/
generic_with_google.mk. I end up with other failures towards the end
of building installer_img but not sure if they are related.

Kind Regards


On Apr 28, 10:35pm, Jean-Baptiste Queru <j...@android.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Compile problem after repo sync.

by Ravishankar Haranath » Thu, 30 Apr 2009 13:16:29 GMT


 In the file <ANDROI_SRC>/vendor/asus/eee_701/eee_701.mk, change '
generic_with_google.mk' to 'generic.mk' in the line,

$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_with_google.mk)

and try again. This is mostly because of google.maps api sources being
removed from the repo and separating it as an addon stuff, in the recent
changes.




with

On Wed, Apr 29, 2009 at 11:00 AM, Gani Bhagavathula <







-- 
Ravishankar Haranath
 http://www.linmaya.net 

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. how uses-permission works

I am puzzled by permission usage, I do not know how an applicaiton
check a request from other apps by permission, for example, it seems
any applicaion can use call function if he declare <uses-permission
android:name="android.permission.CALL_PHONE"/> in his
andriodmanifest.xml,
and not other permission check.
is my understanding right?  if right, this permission seems no sense.
can anyone help to  make clear about it? Any ideas would be helpful.


thanks
Shine
--~--~---------~--~----~------------~-------~--~----~

2. Two "Surface" class definitions?

Sorry, a stupid question:

I saw two "Surface" class definitions in Android source code.

One is in "Surface.h":
class Surface : public RefBase
...

The other is in "LayerBase.h", within definition of "LayerBaseClient":
class Surface : public BnSurface

Could anyone explain the difference and their purpose?

Thanks
Jasperr


--~--~---------~--~----~------------~-------~--~----~

3. Native client for android?

4. Include/insert existing layout in an other layout ?

5. Include/insert existing layout in an other layout ?

6. How to remove an overlay from the map

7. AlertDialog.Buillder