-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wont build the app. #16
Comments
03/04/2022, 23:50:23 => ERROR | Build Failed - Sign Command Failed - Command failed: java -jar "/media/root/5d410b5c-c9da-4d6d-a686-e7cc8be247f4/Android exploits/DroidSpy/DroidSpy-master/DroidSpy-master/app/factory/sign.jar" "/media/root/5d410b5c-c9da-4d6d-a686-e7cc8be247f4/Android exploits/DroidSpy/DroidSpy-master/DroidSpy-master/assets/webpublic/build.apk" Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder at s.Sign.addDigestsToManifest(Sign.java:108) at s.Sign.sign(Sign.java:454) at s.Sign.main(Sign.java:532) Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder 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) ... 3 more |
You can install openjdk version 8 with: sudo apt-get install openjdk-8-jre Then change the version to openjdk 8 with: sudo update-alternatives --config java Then select openjdk version 8. There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-17-openjdk-amd64/bin/java 1711 auto mode
1 /usr/lib/jvm/java-17-openjdk-amd64/bin/java 1711 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
Press <enter> to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode |
i have a higher version of java installed. openjdk 11. and your program isnt registering that i have java installed to build the app.
The text was updated successfully, but these errors were encountered: