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. Uri from FilePath?

[I have asked this question on Stackoverflow, but haven't gotten any
replies in 2 days]

Hi,

I am using the Gallery3D-Code for a test-app but want it to only
display images from a sub-folder on the SD, not all of the images that
are stored on it. To do this, I tried to change

public static final Uri STORAGE_URI =
Images.Media.EXTERNAL_CONTENT_URI;

to
public static final String ROOT_DIR =
Environment.getExternalStorageDirectory().toString() + "/
mySubDirectory";
public static final Uri STORAGE_URI = Uri.fromFile(new
File(ROOT_DIR));

but I guess this is transforming a content://-Uri to a file://-Uri and
this may be a problem?

In any case, it doesn't work :-(! Instead of just showing images from
the ROOT_DIR-directory and its sub-directories, it shows no images at
all ("Gallery empty"). Could anyone point me in the right direction as
to what I am doing wrong?

Thanks for your help,
Nick

-- 

2. separate views list view

Hello,

I was trying to see if anyone could guide me about some keywords or
approach I should take to achieve a certain task on Android. I have 4
buttons, below these buttons is a list view. This list view is having
4 different formats and when the user clicks on any of the 4 buttons
they get the formats they had requested. I am not sure how I can have
4 different list views. Should I declare 4 different strings or how
should one go about it?

Thanks

-- 

3. android:allowClearUserData="false" has no effect in Froyo

4. Viewing app features (MIME types, etc)

5. Default non-gmail email client

6. tool to change ddx to java

7. What is a "binder thread"?