Cupcake's bug ? Caused by: android.content.res.Resources

by Karima » Thu, 30 Apr 2009 18:12:19 GMT


Sponsored Links
 i,

My application works fine but in adb logcat, I see a bug in your lib.
Is it my fault ?

Thanks, bye.

I/ActivityManager( 568): Start proc com.orange.bagua for activity
com.example/.ExampleActivity: pid=884 uid=10019 gids={}
W/WindowManager( 568): Exception when adding starting window
W/WindowManager( 568): android.view.InflateException: Binary XML file
line #24: Error inflating class java.lang.reflect.Constructor
W/WindowManager( 568): at
android.view.LayoutInflater.createView(LayoutInflater.java:512)
W/WindowManager( 568): at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView
(PhoneLayoutInflater.java:56)
W/WindowManager( 568): at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:562)
W/WindowManager( 568): at android.view.LayoutInflater.inflate
(LayoutInflater.java:385)
W/WindowManager( 568): at android.view.LayoutInflater.inflate
(LayoutInflater.java:320)
W/WindowManager( 568): at android.view.LayoutInflater.inflate
(LayoutInflater.java:276)
W/WindowManager( 568): at
com.android.internal.policy.impl.PhoneWindow.generateLayoutPhoneWindow.jav
a:2149)
W/WindowManager( 568): at
com.android.internal.policy.impl.PhoneWindow.installDecor
(PhoneWindow.java:2203)
W/WindowManager( 568): at
com.android.internal.policy.impl.PhoneWindow.getDecorView
(PhoneWindow.java:1442)
W/WindowManager( 568): at
com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow
(PhoneWindowManager.java:648)
W/WindowManager( 568): at
com.android.server.WindowManagerService$H.handleMessage
(WindowManagerService.java:7092)
W/WindowManager( 568): at android.os.Handler.dispatchMessage
(Handler.java:99)
W/WindowManager( 568): at android.os.Looper.loop(Looper.java:
123)
W/WindowManager( 568): at
com.android.server.WindowManagerService$WMThread.run
(WindowManagerService.java:440)
W/WindowManager( 568): Caused by:
java.lang.reflect.InvocationTargetException
W/WindowManager( 568): at android.widget.FrameLayout.<init>
(FrameLayout.java:79)
W/WindowManager( 568): at
java.lang.reflect.Constructor.constructNative(Native Method)
W/WindowManager( 568): at
java.lang.reflect.Constructor.newInstance(Constructor.java:446)
W/WindowManager( 568): at
android.view.LayoutInflater.createView(LayoutInflater.java:499)
W/WindowManager( 568): ... 13 more
W/WindowManager( 568): Caused by: android.content.res.Resources
$NotFoundException: Resource is not a Drawable (color or path):
TypedValue{t=0x2/d=0x1010059 a=-1}
W/WindowManager( 568): at
android.content.res.Resources.loadDrawable(Resources.java:1609)
W/WindowManager( 568): at
android.content.res.TypedArray.getDrawable(TypedArray.java:548)
W/WindowManager( 568): at android.widget.FrameLayout.<init>
(FrameLayout.java:91)
W/WindowManager( 568): ... 17 more
D/AndroidRuntime( 877): Shutting down VM
D/dalvikvm( 877): DestroyJavaVM waiting for non-daemon threads to
exit
D/dalvikvm( 877): DestroyJavaVM shutting VM down
D/dalvikvm( 877): HeapWorker thread shutting down
D/dalvikvm( 877): HeapWorker thread has shut down
D/jdwp ( 877): JDWP shutting down net...
D/jdwp ( 877): +++ peer disconnected
I/dalvikvm( 877): Debugger has detached; object registry had 1
entries
D/dalvikvm( 877): VM cleaning up



Other Threads

1. Porting 1.0 to 1.5, map tiles stopped displaying

Hi,

Even i am facing problems to get a map displayed on the emulator. The
MapView throws an error on LogCat saying "Couldn't get connection factory
client" and then a series of I/O exception. I followed the steps given here:
http://developer.android.com/guide/tutorials/views/hello-mapview.html ,
obtained the Maps Key, placed it within the main.xml, set permissions in the
manifest but it always shows up with tiles on the screen without a map.
Could anyone please help in getting it fixed. The LogCat is persistent with
this error "Couldn't get connection factory client"

Thanks










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

2. move files from one pc to Android application and file creation

hello,
I am preparing my thesis for a degree and the steps that have to do is
create a file in an application with any extension can be. xml file
that is then sent to a PC on which I am running on or another.
I can help with this step which is not where to start.
I was thinking of using the kernel command push <local> <remote> "but
do not know how to use this command in the code or if there is another
way ...
and has also in the creation of the file that I will make from the
file creation, reading and writing, and if you can give the path to
save the file.
thank you very much .....

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

3. Issue while creating a alarm..

4. Problem updating Eclipse Plugin to 0.9 ADT

5. Fujitsu U1010 / U810

6. sqlitecursor exceptions while debugging

7. SQLiteFullException - is there a limit on db size ?