Re: [android-developers] Re: no package identifier when getting value for resource

2010-01-09 Thread MCON Dev
Did anyone get a fix for this issue ?

Im using eclipse and android sdk r2.  My scenario is res/raw/abc.xml. I have
the following code

Resources res = Resources.*getSystem*() ;

FileDescriptor *fd* = res.openRawResourceFd (R.layout.
*main*).getFileDescriptor();
Or

InputStream in = res.openRawResource(R.layout.*main*);


Both of them report no package identifier when getting value for resource
number for the main value.

I have started download of r4 sdk. Will it fix it ?

Siddharth
On Tue, Jun 2, 2009 at 12:19 AM, guruk ilovesi...@gmail.com wrote:


 :)
 make really no sense

 and you know what is even more strange:
 now while installing my app i get
 35 Times:

 I/ActivityManager(   60): Start proc com.chris.mydays for activity
 com.chris.myd
 ays/.datepicker: pid=32376 uid=10032 gids={}
 I/dalvikvm(32376): Debugger thread not active, ignoring DDM send
 (t=0x41504e4d l
 =38)
 I/dalvikvm(32376): Debugger thread not active, ignoring DDM send
 (t=0x41504e4d l
 =36)
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name
 E/vending (32364):
 com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
 p(): Multiple assets with package name

 Any ideas how to fix that?

 greets
 chris

 --~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 -~--~~~~--~~--~--~---


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: no package identifier when getting value for resource

2009-06-01 Thread Nate

Chris,
I'm also having the same problem while trying to use the StatFs object
(for file system statistics). From what it looks like to me, they
(Google) have removed that package from the Android platform for some
reason. So instead of your app crashing when it get's to that line, it
logs an error and does nothing. Frustrating to say the least. I spent
about a day reviewing and rewriting my code before I realized they
simply removed the object itself.

Hope that helps,
~~ Nate

On May 19, 9:35 am, guruk ilovesi...@gmail.com wrote:
 When I start my program I get this for 3 from 35 entries in the R.Java

 no package identifier when getting value for resource xxx

 I checked what could be wrong but the enries looks fine like similar
 where it does not come to a message like that?

 What could that be?

 greets
 chris

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: no package identifier when getting value for resource

2009-06-01 Thread guruk

:)
make really no sense

and you know what is even more strange:
now while installing my app i get
35 Times:

I/ActivityManager(   60): Start proc com.chris.mydays for activity
com.chris.myd
ays/.datepicker: pid=32376 uid=10032 gids={}
I/dalvikvm(32376): Debugger thread not active, ignoring DDM send
(t=0x41504e4d l
=38)
I/dalvikvm(32376): Debugger thread not active, ignoring DDM send
(t=0x41504e4d l
=36)
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name
E/vending (32364):
com.android.vending.api.LocalAssetDatabase.buildPackageNameMa
p(): Multiple assets with package name

Any ideas how to fix that?

greets
chris

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---