R
R
Rou19972016-03-23 11:23:24
Java
Rou1997, 2016-03-23 11:23:24

Is it possible to compile a .java file without having the necessary dependencies (by default, the compiler swears)? What about .smali?

Theoretically, it's quite possible.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai, 2016-03-24
@j_wayne

Firstly, if these are some public libraries, you can find them and connect them)
If they are not available (for example, some internal libraries of the company, you can make empty stubs of the same classes with the same names and packages and method signatures, etc. .).
On the other hand, where did you get this class from, from some application? Aren't there these compiled classes that can be substituted into the classpath when compiling?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question