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

Skip to first unread message

Varun Menon

Jul 24, 2013, 5:52:38 AM7/24/13

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.


On Wed, Jul 24, 2013 at 12:17 PM, ballacky13 <> wrote:

I have an android app, and its main activity class name is
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$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?

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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Reply all
Reply to author
0 new messages