How To Create Class Files In Android Studio
So I'm needing to create class files in Android Studio so I can use URLClassLoader. I need to do this so that I can pass custom objects through a socket, I keep getting a ClassNotF
Solution 1:
Java classes can be created by right-clicking on a Java folder then New > Java Class
A Java folder can be created by right-clicking another folder and selecting New > Folder > Java Folder
The compiled Java class file will be found by going to the module's folder then build > intermediates > classes > debug > company.name > com > app.name
Solution 2:
If your AS is setup correctly then creating the classes should appear in the AS path. Do you have some more context on the setup of your project so that we can advice further?
Post a Comment for "How To Create Class Files In Android Studio"