qiling icon indicating copy to clipboard operation
qiling copied to clipboard

Android hello world run failed!

Open xuade opened this issue 1 year ago • 1 comments

*Describe the bug I created a hello world demo in Android Studio and without other code. just return string Env info: Windows 11, WSL ubuntu 22.04

image

Sample Code

 from qiling import Qiling 
                
ndk_test_file = "/home/testu2204/sec/qiling/rootfs/arm64_android/bin/libqilingtest.so"
rootfs = "/home/testu2204/github/rootfs/arm64_android"

ql = Qiling(
    [ndk_test_file],
    rootfs,
    multithread=True
)
ql.run()

Expected behavior

Screenshots image

xuade avatar Oct 13 '24 15:10 xuade

The .so file is not a standalone executable. Furthermore, this is a JNI function. You should try to refer to /tests/test_android.py to modify your test attempt.

ZERO-A-ONE avatar May 12 '25 08:05 ZERO-A-ONE