Open ZapdoZ opened 4 years ago
I'm also getting the same error. Any solution?
Any progress?
No, i'm still struggling with it
i m also getting the same error :(
As a very quick fix, see #42.
Hey! I am a complete dummy in using python and I have the same problem as mentioned above when executing the .exe release. If anyone could fix the bug would it be possible to provide a link for a download of an updated, functioning .exe-file. Thx very much
I'm having the same problem, is there any update? when deployed returns [INFO] Downloading and installing Android SDK... [ERROR] Failed regex matching to find latest Android SDK (platform Windows) [ERROR] Failed to install Android SDK
I've also tried to install the SDK from the official site, but nothing changes
@InsalataCondita @Dummy60 @SarahhMortada @shadowwalkersteam Go to src/android_sdk.py and change the line 180 from
r = requests.get('https://developer.android.com/studio/')
to
r=requests.get('https://web.archive.org/web/20190403122148/https://developer.android.com/studio/')
as Lazza explained in #42
Hey, i updatet the depencies with @yuvrajraghuvanshis commit, but i stil got an error, while updating the sdk:
[INFO] SDK tools directory already exists, skipping download & extraction... [INFO] Updating SDK from manager... Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 5 more [ERROR] Could not update SDK Manager [ERROR] Failed to install Android SDK
Has solved this error already ?
Hey, i updatet the depencies with @yuvrajraghuvanshis commit, but i stil got an error, while updating the sdk:
[INFO] SDK tools directory already exists, skipping download & extraction... [INFO] Updating SDK from manager... Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 5 more [ERROR] Could not update SDK Manager [ERROR] Failed to install Android SDK
Has solved this error already ?
@bibildibabeldibub It looks like the already downloaded SDK is causing trouble. It's skipping fresh download of SDK. Try deleting that folder and re run. However I'm not sure.
I done this but still got the error
Hey, i updatet the depencies with @yuvrajraghuvanshis commit, but i stil got an error, while updating the sdk:
[INFO] SDK tools directory already exists, skipping download & extraction... [INFO] Updating SDK from manager... Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 5 more [ERROR] Could not update SDK Manager [ERROR] Failed to install Android SDK
Has solved this error already ?@bibildibabeldibub It looks like the already downloaded SDK is causing trouble. It's skipping fresh download of SDK. Try deleting that folder and re run. However I'm not sure.
Maybe it is the result of wrong jdk or jre ?
Hey, i updatet the depencies with @yuvrajraghuvanshis commit, but i stil got an error, while updating the sdk:
[INFO] SDK tools directory already exists, skipping download & extraction... [INFO] Updating SDK from manager... Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 5 more [ERROR] Could not update SDK Manager [ERROR] Failed to install Android SDK
Has solved this error already ?@bibildibabeldibub It looks like the already downloaded SDK is causing trouble. It's skipping fresh download of SDK. Try deleting that folder and re run. However I'm not sure.
Maybe it is the result of wrong jdk or jre ?
@bibildibabeldibub I looked it up, try this
Hey, i updatet the depencies with @yuvrajraghuvanshis commit, but i stil got an error, while updating the sdk:
[INFO] SDK tools directory already exists, skipping download & extraction... [INFO] Updating SDK from manager... Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 5 more [ERROR] Could not update SDK Manager [ERROR] Failed to install Android SDK
Has solved this error already ?@bibildibabeldibub It looks like the already downloaded SDK is causing trouble. It's skipping fresh download of SDK. Try deleting that folder and re run. However I'm not sure.
Maybe it is the result of wrong jdk or jre ?
@bibildibabeldibub I looked it up, try this
Ah yes i found it too, thx it started working.
Hey, i updatet the depencies with @yuvrajraghuvanshis commit, but i stil got an error, while updating the sdk:
[INFO] SDK tools directory already exists, skipping download & extraction... [INFO] Updating SDK from manager... Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 5 more [ERROR] Could not update SDK Manager [ERROR] Failed to install Android SDK
Has solved this error already ?@bibildibabeldibub It looks like the already downloaded SDK is causing trouble. It's skipping fresh download of SDK. Try deleting that folder and re run. However I'm not sure.
Maybe it is the result of wrong jdk or jre ?
@bibildibabeldibub I looked it up, try this
Ah yes i found it too, thx it started working.
Glad to hear that.
Trying to install the SDK gives me the following: [INFO] Downloading and installing Android SDK... [ERROR] Failed regex matching to find latest Android SDK (platform Windows) [ERROR] Failed to install Android SDK
Tried this with the .exe release and with python 2.7, and I'm always getting the same error I'm using Windows 10 x64