minhhieu1503 / andar

Automatically exported from code.google.com/p/andar
0 stars 0 forks source link

Can't run the AndarSample. Help please! #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import the project
2. run, than the app force to close
3.

What is the expected output? What do you see instead?
expected videostream. Sees a Error window and force to close.

What version of the product are you using? On what operating system?
2.1

Please provide any additional information below.
I tried to refer the marker in the CustomActivity's constructor but the error 
is still occurring. I don't know if i'm doing it right. Is there anything else 
I could do to run the app?

Original issue reported on code.google.com by jotab...@gmail.com on 27 Aug 2012 at 10:31

GoogleCodeExporter commented 9 years ago
If it helps, follow the logcat

08-28 02:02:38.433: W/dalvikvm(346): Unable to resolve superclass of 
Ledu/dhbw/andar/sample/CustomActivity; (12)
08-28 02:02:38.453: W/dalvikvm(346): Link of class 
'Ledu/dhbw/andar/sample/CustomActivity;' failed
08-28 02:02:38.453: D/AndroidRuntime(346): Shutting down VM
08-28 02:02:38.453: W/dalvikvm(346): threadid=3: thread exiting with uncaught 
exception (group=0x4001b188)
08-28 02:02:38.463: E/AndroidRuntime(346): Uncaught handler: thread main 
exiting due to uncaught exception
08-28 02:02:38.493: E/AndroidRuntime(346): java.lang.RuntimeException: Unable 
to instantiate activity 
ComponentInfo{edu.dhbw.andar.sample/edu.dhbw.andar.sample.CustomActivity}: 
java.lang.ClassNotFoundException: edu.dhbw.andar.sample.CustomActivity in 
loader dalvik.system.PathClassLoader@44dabac8
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.app.ActivityThread.access$2200(ActivityThread.java:119)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.os.Looper.loop(Looper.java:123)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.app.ActivityThread.main(ActivityThread.java:4363)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
java.lang.reflect.Method.invokeNative(Native Method)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
java.lang.reflect.Method.invoke(Method.java:521)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
dalvik.system.NativeStart.main(Native Method)
08-28 02:02:38.493: E/AndroidRuntime(346): Caused by: 
java.lang.ClassNotFoundException: edu.dhbw.andar.sample.CustomActivity in 
loader dalvik.system.PathClassLoader@44dabac8
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:573)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:532)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.app.Instrumentation.newActivity(Instrumentation.java:1021)
08-28 02:02:38.493: E/AndroidRuntime(346):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409)
08-28 02:02:38.493: E/AndroidRuntime(346):  ... 11 more
08-28 02:02:38.523: I/dalvikvm(346): threadid=7: reacting to signal 3
08-28 02:02:38.523: E/dalvikvm(346): Unable to open stack trace file 
'/data/anr/traces.txt': Permission denied

Original comment by jotab...@gmail.com on 28 Aug 2012 at 2:13

GoogleCodeExporter commented 9 years ago
Hi, I had same issue and after breaking my head... solution was changing lib 
folder's name.
Just move everything from ./lib folder to ./libs

Original comment by nachova...@gmail.com on 31 Dec 2012 at 8:39

GoogleCodeExporter commented 9 years ago
Hey! Thank you very much. It worked!

Original comment by jotab...@gmail.com on 2 Jan 2013 at 12:15

GoogleCodeExporter commented 9 years ago
After moving all the content of lib folder to libs I am getting the same error.

Original comment by tarunjos...@gmail.com on 4 Jan 2013 at 6:06

GoogleCodeExporter commented 9 years ago
Here's my logcat details: 

01-04 11:23:48.747: E/AndroidRuntime(22940): FATAL EXCEPTION: main
01-04 11:23:48.747: E/AndroidRuntime(22940): java.lang.RuntimeException: Unable 
to instantiate activity 
ComponentInfo{edu.dhbw.andar.sample/edu.dhbw.andar.sample.CustomActivity}: 
java.lang.ClassNotFoundException: edu.dhbw.andar.sample.CustomActivity
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1891)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.app.ActivityThread.access$600(ActivityThread.java:127)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.os.Handler.dispatchMessage(Handler.java:99)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.os.Looper.loop(Looper.java:137)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.app.ActivityThread.main(ActivityThread.java:4448)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
java.lang.reflect.Method.invokeNative(Native Method)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
java.lang.reflect.Method.invoke(Method.java:511)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
dalvik.system.NativeStart.main(Native Method)
01-04 11:23:48.747: E/AndroidRuntime(22940): Caused by: 
java.lang.ClassNotFoundException: edu.dhbw.andar.sample.CustomActivity
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:501)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:461)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.app.Instrumentation.newActivity(Instrumentation.java:1023)
01-04 11:23:48.747: E/AndroidRuntime(22940):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1882)
01-04 11:23:48.747: E/AndroidRuntime(22940):    ... 11 more

Original comment by tarunjos...@gmail.com on 4 Jan 2013 at 6:07

GoogleCodeExporter commented 9 years ago
@nachova

thanks,,,it's work....
problem solved,,

Original comment by dimazmar...@gmail.com on 24 Jan 2013 at 3:17

GoogleCodeExporter commented 9 years ago
@tarunjos, maybe you are moving from lib to libs... in my case I did copy from 
lib to libs... so I left the folder lib the way it was...

Original comment by jotab...@gmail.com on 24 Jan 2013 at 3:55

GoogleCodeExporter commented 9 years ago
Thanks alot bro jazakallah

Original comment by absa...@gmail.com on 11 Mar 2013 at 7:21

GoogleCodeExporter commented 9 years ago
@nachova Gracias, muchísimas Gracias. Salvaste mi día. 

Solo era mover todo lo que esta en ./lib a la carpeta ./libs

Thank you.

Original comment by rolyne...@gmail.com on 3 Sep 2014 at 2:36