• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps cant install SDK

This is what I get:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/a
rchquery/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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[INFO] Starting Android SDK and AVD Manager
Invalid path
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
ERROR: SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platfo
rm.
 
Upvote 0
Hello,

You can directly Execute the android (sdk setup.exe) to simply run the pre-defined applications.

If u want to develop your own applications and run on the emulator you may take the help of eclipse, where they have given a excellent environment setup.

So better setup the environment for Android Applications using Eclipse with Android SDK.

Here is my blog where i have written a procedure to setup environment for Android
Just In Time: Android Environment setup with Eclispe3.5 Galileo

Let me know if any issues


Thanks
Vinay Guntaka
 
Upvote 0
During initial installation, the SDK Manager will not open.
After attempting a command line start with android.bat update sdk, I found a path error.

My Android SDK is in C:\Applications\Software Development\android-sdk\

I have the following path set:
ANDROID_SWT=C:\Applications\Software Development\android-sdk\tools\lib\x86_64

I also tried
ANDROID_SWT=C:\Applications\Software Development\android-sdk\tools\

But I still get this error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/archquery/Main (Unsupported major.minor versio
n 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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[INFO] Starting Android SDK and AVD Manager
Invalid path
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
ERROR: SWT folder 'C:\Applications\Software Development\android-sdk\tools\lib\x86_64' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones