Can not start LiveWallpaper Example

  ... discussions about development with the GLES1 branch of AndEngine.

Can not start LiveWallpaper Example

Postby dukra » Fri Mar 30, 2012 3:22 am

Hello,
what ever I tried, I can't launch the Live Wallpaper Example or to be more precise I can not find a functioning example which could be started without exception and a necessary force close. All the other examples are working fine in my setup.
The message I'm getting:

03-30 00:54:27.779: E/AndroidRuntime(603): java.lang.RuntimeException: Unable to instantiate service org.anddev.wallpaper.live.cigarette.LiveWallpaperService: java.lang.ClassNotFoundException: org.anddev.wallpaper.live.cigarette.LiveWallpaperService in loader dalvik.system.PathClassLoader@44e8cbc8

Development Environment:
Eclipse Helios
ADT 17
All Android APIs >7
Attached are screenshots of my Workspace and LogCat window in the moment of exception.

EDIT: The samples I tried are not working on real devices either...

I'd appreciate very much if someone could point me to the right direction.
Attachments
LogCat.jpeg
LogCat.jpeg (129.09 KiB) Viewed 1029 times
Workspace.JPG
Workspace.JPG (60.03 KiB) Viewed 1029 times
dukra
 
Posts: 3
Joined: Fri Mar 30, 2012 2:59 am

Re: Can not start LiveWallpaper Example

Postby Semtiko » Sat Mar 31, 2012 5:33 am

Hi! In this form this example works only with old AndEngine version, but you are using GLES2 version.
Semtiko
 
Posts: 39
Joined: Fri Aug 19, 2011 10:00 pm

Re: Can not start LiveWallpaper Example

Postby xiaojxiao » Mon Jul 16, 2012 9:08 pm

I have found the same issue. I don't know if it is exactly the same as your issue.

It is an issue related to ADT 17 or above.

Here is my solution:
1. Change "lib" folder to "libs" folder.
2. In the build path, use the current "libs" path for external .jar file.
3. Use Android Tools -> Fix Project Property
4. Clean the project, build and run again, the problem should be fixed.
xiaojxiao
 
Posts: 2
Joined: Mon Jul 16, 2012 7:57 pm

Re: Can not start LiveWallpaper Example

Postby dukra » Thu Jul 19, 2012 10:28 pm

thank you very much, xiaojxiao.
in the end i gave up the whole thing and went on without andengine.
dukra
 
Posts: 3
Joined: Fri Mar 30, 2012 2:59 am


Return to GLES1

Who is online

Users browsing this forum: No registered users and 13 guests