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

Support on android termux? #12

Open
redragon14368 opened this issue Jun 18, 2021 · 1 comment
Open

Support on android termux? #12

redragon14368 opened this issue Jun 18, 2021 · 1 comment

Comments

@redragon14368
Copy link

Sir, i tested it on android termux. Is it Support on android termux?. When i tested it gives me SDK error like this. Can you help me to fix them please

No CMAKE_PATH
No ANDROID_SDK_HOME. Default is /opt/android-sdk
No ANDROID_NDK_HOME. Default is /opt/android-sdk/ndk/22.1.7171670
sh: 0: Can't open build/build8399417379338574123.sh
Exception in thread "main" java.io.IOException: Build failed
at com.nmmedit.apkprotect.BuildNativeLib.build(BuildNativeLib.java:34)
at com.nmmedit.apkprotect.ApkProtect.generateNativeLibs(ApkProtect.java:214)
at com.nmmedit.apkprotect.ApkProtect.run(ApkProtect.java:128)
at com.nmmedit.protect.Main.main(Main.java:58)

@maoabc
Copy link
Owner

maoabc commented Jun 18, 2021

Need to export environment variables.
export ANDROID_SDK_HOME="custom android sdk path"
export ANDROID_NDK_HOME="custom android ndk path"
export CMAKE_PATH="cmake path"

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