Error on AndroidManifest.xml..

by ritter.han » Thu, 05 Feb 2009 00:24:29 GMT


Sponsored Links
 Hi, all.

  I'm trying to build the full Cupcake source code,
  And succeeded on my local Linux box.
  But once I copy the same source code to the remote server (Linux
based server)
  it returns the error like as below.

  target R.java/Manifest.java: Development (out/target/common/obj/APPS/
Development_intermediates/src/R.stamp)
  development/apps/Development/AndroidManifest.xml: 74: ERROR Error:
String types not allowed (at 'configChanges' with value 'keyboard|
keyboardHidden|navigation|orientation').
  make: *** [out/target/common/obj/APPS/Development_intermediates/src/
R.stamp] Error 1

  I tried ro delete out folder and 'make clean' also, but failed.

  Please tell me why the same source code return the error like the
above only in the remote server.
  Again, the smae one had been built on my local Linux box (Ubuntu).

  Thanks in advance.
  Shwan.


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



Error on AndroidManifest.xml..

by Chronos » Wed, 11 Feb 2009 23:54:28 GMT


 I have the same problem on my current project: Code that is perfectly
valid reports the above error. I first thought it to be some kind of
eclipse integration bug - but if you state, you have this problem on a
remote machine (which you probably do not run eclipse on), I am pretty
sure this is a bug in the SDK.

My temporary solution is: just insert some blank lines, a comment or
something equivalent. The code won't report bugs thereafter (if you're
lucky). Sometimes it even helps to do a clean build. But I find the
frequency of the error rising with the amount of XML in my project.

This is really annoying and frustrating :(. Especially if you're
designing in XML - today I spent about 25% of my time with this bug...
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Error on AndroidManifest.xml..

by PeteT » Sat, 14 Mar 2009 02:09:53 GMT


 We see this exact same error on a number of systems as well, but
interestingly not on all systems.  Interestingly, we've found that if
we tweak the command line that is generating the error, we can
eliminate the error on all systems.  E.g. on machines which exhibit
the problem, if we run:

p...@android5:$ ./out/host/linux-x86/bin/aapt package  -m -z  -J out/
target/common/obj/APPS/Development_intermediates/src -M development/
apps/Development/AndroidManifest.xml -P out/target/common/obj/APPS/
Development_intermediates/public_resources.xml -S development/apps/
Development/res  -I out/target/common/obj/APPS/framework-
res_intermediates/package-export.apk

Then, we get the error below:
development/apps/Development/AndroidManifest.xml:74: ERROR Error:
String types not allowed (at 'configChanges' with value 'keyboard|
keyboardHidden|navigation|orientation').

However, if we tweak the final argument in the above command line by
pre-pending "../OSP/", as follows:

p...@android5:$ ./out/host/linux-x86/bin/aapt package  -m -z  -J out/
target/common/obj/APPS/Development_intermediates/src -M development/
apps/Development/AndroidManifest.xml -P out/target/common/obj/APPS/
Development_intermediates/public_resources.xml -S development/apps/
Development/res  -I ../OSP/out/target/common/obj/APPS/framework-
res_intermediates/package-export.apk

We do not see the error.   Very odd.   Maybe someone at Google has a
idea?

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



Other Threads

1. One issue left before i start to really use my HERO

Hello! This Monday i went and got a HTC Hero.
Have fixed with to and from the whole week, and are now starting to
get it like I want it with the right software, root, recent ROM, etc.

BUT!
I have used much of the week to search around the forums for one thing
I can not possibly get to work.

I have a Nokia BH-602 which I previously used with my E75 (or because
of this issue is still using)
Now the problem.
Paired with my E75, I got all notifications of BH-602, ex. sms, msn,
mms, email etc, all the sounds that the phone did, even custom
ringtones.
In my HTC Hero it is the only conversations that I can get the BH-602,
and to be honest, that is the least used function for me. :-)

WHY ?!?!?!

No, BH-602 is not an A2DP headset.

If that is the case that Nokia has had this to work with just BT1.5,
why not the android? Or why there is not a SINGLE little answer
somewhere on the net that says more than "it does not, you must have
A2DP"
It's not needed because it works with my nokia.
Even a single small ugly hack or something, anything!

I want my hero, for which Eddie Izzard says;

http://www.youtube.com/watch?v=k6C_HjWr3Nk

"This is the one! I will not have to work again!"

Help please anyone, if nothing else, a laugh a little at Izzard, so
wonderful!

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

2. Why do my team makes integration part for developing Android?

Dear Genius~

I have 3 years experience for integration on S60 platform (Symbian).
But my team is developing Android platform right now.

I had requested that my team should have integration part to manage
build, release and continuous integration to my manager and boss. But
they say "Why do we need integration part?" :p I explained about role
of integration (e.g. 
http://www.harveynash.com/uk/microsites/symbianfoundation/2008/11/integration_engineer.asp)

But they did not feel need it. So I and my coworker have set Git,
Gerrit and Mantis to support integration. They have approve use it but
they want us be a component developer. They said we can do developing
android platform without integration part. They consider just MERGER
to merge, build files and release it among my team's developers.
(Polling developers to merge every week)

What do you think about this situation? Let me know your opinion. I
believe my team must have integration team to manage source code. Even
if you don't this so, you can let me know why.

p.s. Originally my team uses ClearCase to manage source code, so they
consider use it to android project also. What do you think about this?

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

3. "singleTask" really always at the root of activity stack?

4. How can I extends InputMethodService and using its feature without setting system keyboard??

5. Issue of selection 3D vertex (gluUnProject)

6. Help: I can't click on an Animated View

7. Do we get any event in the Activity when the activity gets re-sized?