Hi Fadden,

Finally I had the time to test your suggestion and indeed the name of
the class was the problem:

[EMAIL PROTECTED]:~/mydroid/development/samples/Home/src$ ./run-
dalvik -cp Home.jar com.example.android.home.Home
W/dalvikvm(10004): VFY: unable to resolve new-instance 48 (Lcom/
example/android/home/Home$WallpaperIntentReceiver;) in Lcom/example/
android/home/Home;
W/dalvikvm(10004): VFY:  rejecting opcode 0x22 at 0x000b
W/dalvikvm(10004): VFY:  rejected Lcom/example/android/home/
Home;.<init> ()V
W/dalvikvm(10004): Verifier rejected class Lcom/example/android/home/
Home;
Dalvik VM unable to find static main(String[]) in 'com/example/android/
home/Home'
W/dalvikvm(10004): threadid=3: thread exiting with uncaught exception
(group=0xb64f1dc0)
java.lang.VerifyError: com.example.android.home.Home
        at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm(10004): DestroyJavaVM shutting VM down


It now complaints about the lack of a main() entry point (as hackbod
has pointed out earlier). I will dedicate myself to solving this now
(suggestions are welcome too :P).

Thanks,
Filipe


On Nov 7, 10:34 pm, fadden <[EMAIL PROTECTED]> wrote:
> On Nov 7, 11:23 am, Filipe Abrantes <[EMAIL PROTECTED]> wrote:
>
> > [on root dir]
> > cp Home.class development/samples/Home/src/com/example/android/home/
> > cd development/samples/Home/src
> > ../../../../out/host/linux-x86/bin/dx --dex --output=Home.jar com/
> > example/android/home/Home.class
>
> > Then I run dalvik with:
>
> >  ./run-dalvik -cp Home.jar  Home
>
> Looks like the class name should be "com.example.android.home.Home",
> not "Home".
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to