Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 AsyncTask 并试图从中调用 native(jni) 方法。是否可以?我收到一个运行时异常,说不满意的链接错误。
是的,您可以从任何线程调用 JNI 方法,包括用于 AsyncTask 的方法。问题可能是: