View Single Post
  #10  
Old 02-12-2024, 08:38
dion dion is offline
game tech
 
Join Date: Jan 2002
Posts: 173
Rept. Given: 17
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 9
Thanks Rcvd at 13 Times in 8 Posts
dion Reputation: 2
Quote:
Originally Posted by chants View Post
Fortunately Java is very simple. There is a class path and that represents the root. Packages paths are just folder names. Finally the class name should be a .class file in thr appropriate folder. So if you are getting class not found exceptions, either adjust your class path or move the right things into it. For example if your files are in a .jar or Java archive which is common and just a glorified zip file with a metadata folder, you could unzip the class file(s) or merely add the jar to the class path.

But fixing this is far easier than .so/DLL hell described above. Its something new Java programming students are expected to learn in fact.
i looked into apk file folders name, but nothing describe the class name(com.example.hello). i guess it is on classes.dex file.

i uploaded the android studio file here. i hope this is still ok, since nothings on it from original apk, but native library files.

btw, you would need arm64 root phone or emulator to debug this.

Last edited by dion; 02-12-2024 at 08:39. Reason: additional info
Reply With Quote
The Following User Says Thank You to dion For This Useful Post:
chants (02-12-2024)