Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy libnc.so 出錯, 我修改了 project/Android.mk 中的 modul_name #34

Open
ccyyyy1 opened this issue Jul 1, 2020 · 3 comments

Comments

@ccyyyy1
Copy link

ccyyyy1 commented Jul 1, 2020

把 copy_compiled_libs() 的 最後幾行 修改為

    for sofile in os.listdir(src):
        libnc = os.path.join(src, sofile)
        shutil.copy(libnc, dst)
    #libnc = os.path.join(src, LIBNATIVECODE)
    #shutil.copy(libnc, dst)
@amimo
Copy link
Owner

amimo commented Jul 1, 2020

报什么错?

@ccyyyy1
Copy link
Author

ccyyyy1 commented Jul 1, 2020

還以爲這個項目涼涼了,哈哈

找不到 libnc.so 因爲改了 MODUL_NAME 所以編譯出來不是 libnc.so
對應 dcc.py 裏的常量 LIBNATIVECODE

@ccyyyy1
Copy link
Author

ccyyyy1 commented Jul 1, 2020

具體的報錯信息找不到了,但是意思就是 找不到 在 project_dir/libs/(some arch)/libnc.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants