-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 Library files are in the wrong directory? #25
Comments
I noticed this with Eclipse but it works fine with Android Studio. |
How is the support for the NDK in Android studio? Well built or still obviously beta? |
Not great... |
@xiphirx what do you mean by "I have included the project via maven in eclipse"? UPDATE: |
I mean that I added the maven dependency to my pom file and tried to build in eclipse... I didn't copy over the jar at all. However I managed to get it working by copying over your package and the native files, and so im just compiling it alongside my project now :/ |
Does android-gif-drawable-1.0.4.jar exist in your local maven repo? |
Ah right sorry, I believe I did put the JAR in our maven repo. Anyway, it seems like that error message isn't supposed to be an error message, but more of a warning, according to this https://groups.google.com/d/msg/android-ndk/u1v64AapyKI/vUuaW2Vs62oJ If you want, you can put the .so file into the assets folder and copy it over at runtime as described here https://www.crittercism.com/packaging-android-libraries-with-native-code/ or you can just provide the pre-built .so file in the git repo under libs/ and let people just link the project in Eclipse (probably the most favorable solution) |
Thanks! Good idea with pre-built .so files in repo. I've added them in fe93d22. |
I have included the project via maven in eclipse, and when I attempt to run my project I receive the following error,
I'm aware of the force error option and I have it disabled. The odd thing is that I have other JARs in this project that also include native libraries, and they allow the project to build just fine, they also don't have the files in lib/, but in libs/...
The text was updated successfully, but these errors were encountered: