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

NDK-Error #2

Open
anbraten opened this issue Feb 8, 2016 · 9 comments
Open

NDK-Error #2

anbraten opened this issue Feb 8, 2016 · 9 comments

Comments

@anbraten
Copy link

anbraten commented Feb 8, 2016

Error:Execution failed for task ':easycam:ndkBuild'.

Process 'command 'C:\Users\miller\AppData\Local\Android\android-ndk-r10e/ndk-build.cmd'' finished with non-zero exit value 2

@Initiale
Copy link

i have same issue, how can we get rid off from this error?

@Arksine
Copy link
Owner

Arksine commented Apr 27, 2016

If you are using Windows 8 or greater, its an issue with the renderscript llvm compiler. Go to NDK_DIR\toolchains\renderscript\prebuilt\windows-x86_64\bin, right click on llvm-rs-cc.exe, click properties, go to the compatibility tab, and change the compatibility mode to Windows 7 or Windows XP SP3. Make sure you are using ndk-r10e, NDK 11 left out support for renderscript and AFAIK they don't plan on adding it back until NDK 12.

@mistrydarshan99
Copy link

I have used ndk 9 but still the issue is persist..:(

@Arksine
Copy link
Owner

Arksine commented Apr 29, 2016

Did you change the compatibility mode for llvm-rs-cc.exe? Try both Windows 7 and Windows XP SP3. Also use NDK r10e, not NDK 9.

@mistrydarshan99
Copy link

Which version of ndk 10 i used, there are several ndk available for version 10 like below :

Android NDK, Revision 10e (May 2015)

Android NDK, Revision 10d (December 2014)

Android NDK, Revision 10c (October 2014)

Android NDK, Revision 10b (September 2014)

Android NDK, Revision 10 (July 2014)

@synthercat
Copy link

I got NDK 12
Here is my problem :
Android NDK: ERROR:jni/Android.mk:RSSupport: LOCAL_SRC_FILES points to a missing file
D:\PROJECTS\AndroidStudioProjects\sdk\ndk-bundle\build\core\prebuilt-library.mk
Error:(45) *** Android NDK: Aborting . Stop.
Android NDK: Check that D:/PROJECTS/AndroidStudioProjects/sdk/ndk-bundle/build//../platforms/android-19/arch-arm/usr/lib/rs/libRSSupport.so exists or that its path is correct
Any ideas of how to fix this?

@synthercat
Copy link

Can someone send the .apk to synthercat@gmail.com?

@Arksine
Copy link
Owner

Arksine commented May 6, 2016

NDK 12 hasn't been released. This project requires NDK r10e. It also requires that you navigate to llvm-rs-cc.exe and change the compatibility mode to Windows 7 if you are using Windows 8 or greater.

You can download the apk in the releases section.

@mistrydarshan99
Copy link

Hi,
You have to use ndk version android-ndk-r10c. After that Go to NDK_DIR\toolchains\renderscript\prebuilt\windows-x86_64\bin, right click on llvm-rs-cc.exe, click properties, go to the compatibility tab, and change the compatibility mode to Windows 7 or Windows XP SP3.

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

5 participants