Re: Could not find class 'org.aspectj.runtime.reflect.Factory'

387 views
Skip to first unread message

Varun Menon

unread,
Jul 24, 2013, 5:52:38 AM7/24/13
to bot-bo...@googlegroups.com
Hi,

Can you tell me whether you had selected Aspectj library under Order/Export tab of build path.
The aspect jar have to be part of the compiled code of the apk. 

Mostly the above error is occurred when the aspect jar is missing from the compiled apk.

Regards
Varun


On Wed, Jul 24, 2013 at 12:17 PM, ballacky13 <balla...@gmail.com> wrote:
Dears,

I have an android app, and its main activity class name is net.oschina.app.AppStart.
Following the instructions online,  I integrated the recorder source code with the my android app.
After I start the app in my testing android phone, it always crash. Below is the logcat information.


07-24 14:26:21.276: D/ActivityThread(9686): setTargetHeapUtilization:0.25
07-24 14:26:21.276: D/ActivityThread(9686): setTargetHeapIdealFree:8388608
07-24 14:26:21.276: D/ActivityThread(9686): setTargetHeapConcurrentStart:2097152
07-24 14:26:21.336: E/dalvikvm(9686): Could not find class 'org.aspectj.runtime.reflect.Factory', referenced from method net.oschina.app.AppStart.ajc$preClinit
07-24 14:26:21.336: W/dalvikvm(9686): VFY: unable to resolve new-instance 1233 (Lorg/aspectj/runtime/reflect/Factory;) in Lnet/oschina/app/AppStart;
07-24 14:26:21.346: W/dalvikvm(9686): VFY: unable to resolve static method 7502: Lorg/aspectj/runtime/reflect/Factory;.makeJP (Lorg/aspectj/lang/JoinPoint$StaticPart;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/aspectj/lang/JoinPoint;
07-24 14:26:21.346: W/dalvikvm(9686): Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lnet/oschina/app/AppStart;
07-24 14:26:21.346: W/dalvikvm(9686): Class init failed in newInstance call (Lnet/oschina/app/AppStart;)
07-24 14:26:21.346: W/dalvikvm(9686): threadid=1: thread exiting with uncaught exception (group=0x410d9498)

Could anyone suggest any help?
Thanks!

--
You received this message because you are subscribed to the Google Groups "Bot-Bot Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bot-bot-user...@googlegroups.com.
To post to this group, send email to bot-bo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bot-bot-users/4a7040b9-3fc4-44cd-a055-c9ca247ff59e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages