Code Monkey home page Code Monkey logo

Comments (8)

laurencedawson avatar laurencedawson commented on August 28, 2024

I noticed this with Eclipse but it works fine with Android Studio.

from android-gif-drawable.

xiphirx avatar xiphirx commented on August 28, 2024

How is the support for the NDK in Android studio? Well built or still obviously beta?

from android-gif-drawable.

laurencedawson avatar laurencedawson commented on August 28, 2024

Not great...

from android-gif-drawable.

koral-- avatar koral-- commented on August 28, 2024

@xiphirx what do you mean by "I have included the project via maven in eclipse"?
There should be no .jar file when using maven since packaging is set to apklib not jar.

UPDATE:
It seems that you have android-gif-drawable-1.0.4.jar referenced somehow which is not needed when using maven.
Anyway I've updated README.md adding <type> tag inside <dependency>.
According to #10 native libraries should be located in lib, not libs, but having them in JAR is not well supported by eclipse so using APKLIB or maven dependency will be better.

from android-gif-drawable.

xiphirx avatar xiphirx commented on August 28, 2024

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 :/

from android-gif-drawable.

koral-- avatar koral-- commented on August 28, 2024

Does android-gif-drawable-1.0.4.jar exist in your local maven repo?

from android-gif-drawable.

xiphirx avatar xiphirx commented on August 28, 2024

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)

from android-gif-drawable.

koral-- avatar koral-- commented on August 28, 2024

Thanks! Good idea with pre-built .so files in repo. I've added them in fe93d22.

from android-gif-drawable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.