Thread Rating:
  • 618 Vote(s) - 2.87 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Androidで起動するときにjava.lang.RuntimeException
11-30-2011, 04:01 PM, (This post was last modified: 11-30-2011, 04:04 PM by Morinoai.)
#1
Androidで起動するときにjava.lang.RuntimeException
こんにちわ。Caedeを使って作ったアプリをAndroidで起動するときに、以下のエラーが発生してしまいます。

誰か分かる方はいらっしゃいますでしょうか?

よろしくお願いいたします。

Code:
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.curl.caede/com.curl.caede.Main}: java.lang.ClassNotFoundException: com.curl.caede.Main in loader dalvik.system.PathClassLoader[/data/app/com.curl.caede-1.apk]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1581)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1675)
at android.app.ActivityThread.access$1500(ActivityThread.java:121)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.curl.caede.Main in loader  dalvik.system.PathClassLoader[/data/app/com.curl.caede-1.apk]    at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)at java.lang.ClassLoader.loadClass(ClassLoader.java:511)at android.app.Instrumentation.newActivity(Instrumentation.java:1021)    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1573)... 11 more


Reply
11-30-2011, 05:04 PM,
#2
RE: Androidで起動するときにjava.lang.RuntimeException
caede-android.jar にパスが通ってないのではないでしょうか?
Reply

Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('357')