BOOK THIS SPACE FOR AD
ARTICLE ADI Found Simple Solution for “NoClassDefFoundError:” when Trying to Embedd payload into another apk | Karthikeyan Nagaraj
This error message indicates that the Java class loader is unable to find the class “StringEscapeUtils” from the Apache Commons Text library.
To fix this error, you need to add the Commons Text library to your Java classpath. Here are the steps:
Download the Common Text Library in ApacheI Downloaded the below file for my Kali
https://dlcdn.apache.org//commons/text/source/commons-text-1.10.0-src.tar.gz
2. Extract the File , copy and paste the file to the below location in Step 3
3. Navigate to /usr/share/Apktool with sudo permission
sudo open /usr/share/apktool4. Delete the old common-text file and add the new file which we downloaded
Old FileNew File
5. Now try to run the Command using msfvenom..
Error is gone… and It’s Working
I hope it will be useful to someone!
Thank you for Reading!!
Happy Hacking ~
Author: Karthikeyan Nagaraj