Pls check by this :

javac --version
if it lower than JDK 5.0 , pls update to the lastest version , or
check th path





BTW , You can check you class file by commandline:
javap -verbose bar.class

if the version show "major.minor version 49.0" , it means your class
file is JDK 5.0



On Apr 19, 2:15 pm, "[email protected]" <[email protected]> wrote:
> Here is the Exception message:
> \android-sdk-windows-1.5_pre\tools>android create
> avd --target 1 --name CupcakeVM01
> Exception in thread "main" java.lang.UnsupportedClassVersionError: com/
> android/s
> dkmanager/Main (Unsupported major.minor version 49.0)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.access$100(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> I don't konw how to solve this problem.
> Could anybody tell me~~~
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to