widget_theme_android@2x.png does not exist

Hi,

WARNING: Asset file “widget_theme_android@2x.png” does not exist.

Does anyone know where this error comes form?

I don’t have a widget_theme_android.png file, nor does my code use one.

I’m thinking this must be included in a plugin, i.e. code/assets added in when corona server does it’s build… probably the admobs plugin… so corona is looking for @2x, 4@x + whatever variants I defined… but of course they don’t exist, because the corona build process can’t make these variants.

I guess there is not much that can be done about this.

Hi @prographodeveloper,

Are you setting the widget library “theme” somewhere? By default, the widget library attempts to detect the OS that you’re running on and use the proper theme. However, you can control the theme directly by setting it:

http://docs.coronalabs.com/api/library/widget/setTheme.html

I would honestly suggest using one of the “_holo_” themes for Android, since they reflect a more modern Android-style GUI.

Take care,

Brent

I’m thinking this must be included in a plugin, i.e. code/assets added in when corona server does it’s build… probably the admobs plugin… so corona is looking for @2x, 4@x + whatever variants I defined… but of course they don’t exist, because the corona build process can’t make these variants.

I guess there is not much that can be done about this.

Hi @prographodeveloper,

Are you setting the widget library “theme” somewhere? By default, the widget library attempts to detect the OS that you’re running on and use the proper theme. However, you can control the theme directly by setting it:

http://docs.coronalabs.com/api/library/widget/setTheme.html

I would honestly suggest using one of the “_holo_” themes for Android, since they reflect a more modern Android-style GUI.

Take care,

Brent