Skip to content

Instantly share code, notes, and snippets.

@adi8900
Created August 7, 2020 17:12
Show Gist options
  • Save adi8900/a142cbc26c4bddd9501eb952d360f5d6 to your computer and use it in GitHub Desktop.
Save adi8900/a142cbc26c4bddd9501eb952d360f5d6 to your computer and use it in GitHub Desktop.
FAILED: /home/adi/twrp/out/target/product/davinci/obj/PACKAGING/ota_keys_intermediates/keys
/bin/bash -c "(rm -rf /home/adi/twrp/out/target/product/davinci/obj/PACKAGING/ota_keys_intermediates/keys ) && (mkdir -p /home/adi/twrp/out/target/product/davinci/obj/PACKAGING/ota_keys_intermediates/ ) && (prebuilts/jdk/jdk9/linux-x86/bin/java -jar /home/adi/twrp/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/adi/twrp/out/target/product/davinci/obj/PACKAGING/ota_keys_intermediates/keys )"
Error: Could not find or load main class com.android.dumpkey.DumpPublicKey
Caused by: java.lang.ClassNotFoundException: com.android.dumpkey.DumpPublicKey
@adi8900
Copy link
Author

adi8900 commented Dec 15, 2020

yes bruh, did clean build again

@diabl0w
Copy link

diabl0w commented Dec 15, 2020

thanks for the response! not sure if it was necessary but I also ended up symlinking an old version of "make" as well following this: https://forum.xda-developers.com/t/guide-linux-manjaro-arch-how-to-set-up-android-build-environment.3300596/

just thought i would report how i got it working because this page is actually a top google result for that error

@thisfeeling
Copy link

@diabl0w how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment