MrRight1990 / libgdx-backend-android-livewallpaper

Automatically exported from code.google.com/p/libgdx-backend-android-livewallpaper
0 stars 0 forks source link

_LW-Template-Full example not working #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import all the example projects
2. run _LW-Template-Full 
3. click menu -> wallpaper -> live wallpapers,  the LW template is in the list, 
but it will not load when you click it, and the force close window shows up 
then.

What is the expected output? What do you see instead?
the LWP WaterRipples should load when you click the LW template in the list

What version of the product are you using? On what operating system?
_LW-Template-Full  v1.0 on Android OS 2.1

Please provide any additional information below.

09-21 16:17:46.908: W/dalvikvm(252): Unable to resolve superclass of 
Lcom/eightbitmage/lwtemplate/TestLibdgxWallpaperService; (454)
09-21 16:17:46.908: W/dalvikvm(252): Link of class 
'Lcom/eightbitmage/lwtemplate/TestLibdgxWallpaperService;' failed
09-21 16:17:46.908: D/AndroidRuntime(252): Shutting down VM
09-21 16:17:46.908: W/dalvikvm(252): threadid=3: thread exiting with uncaught 
exception (group=0x4001b188)
09-21 16:17:46.908: E/AndroidRuntime(252): Uncaught handler: thread main 
exiting due to uncaught exception
09-21 16:17:46.919: E/AndroidRuntime(252): java.lang.RuntimeException: Unable 
to instantiate service com.eightbitmage.lwtemplate.TestLibdgxWallpaperService: 
java.lang.ClassNotFoundException: 
com.eightbitmage.lwtemplate.TestLibdgxWallpaperService in loader 
dalvik.system.PathClassLoader@44e8ca88
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:2764)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
android.app.ActivityThread.access$3200(ActivityThread.java:119)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1917)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
android.os.Looper.loop(Looper.java:123)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
android.app.ActivityThread.main(ActivityThread.java:4363)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
java.lang.reflect.Method.invokeNative(Native Method)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
java.lang.reflect.Method.invoke(Method.java:521)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
dalvik.system.NativeStart.main(Native Method)
09-21 16:17:46.919: E/AndroidRuntime(252): Caused by: 
java.lang.ClassNotFoundException: 
com.eightbitmage.lwtemplate.TestLibdgxWallpaperService in loader 
dalvik.system.PathClassLoader@44e8ca88
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:573)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:532)
09-21 16:17:46.919: E/AndroidRuntime(252):  at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:2761)
09-21 16:17:46.919: E/AndroidRuntime(252):  ... 10 more

Original issue reported on code.google.com by droidcou...@gmail.com on 21 Sep 2012 at 8:30

GoogleCodeExporter commented 9 years ago
I was able to run this by following steps:
1. Right click on _LW-Template-Full project 
and then on the java build path settings, under the source tab
remove "_LW-Template-Common" source.

2. Under projects tab 
add project "_LW-Template-Common"

3. Run it...now it should run without problem.

Original comment by d.asif.h...@gmail.com on 31 Oct 2012 at 7:28