GithubHelp home page GithubHelp logo

Comments (5)

inetic avatar inetic commented on August 22, 2024

Relevant link:

https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md

from newnode.

shalunov avatar shalunov commented on August 22, 2024

Looks like we would need to build to API level 19 to deal.

from newnode.

inetic avatar inetic commented on August 22, 2024

I just tried with an android with Marshmallow (API level 23) on it and it's failing with a similar message

07-13 11:07:10.144 26493 26493 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memset8" referenced by "/data/app/com.example.webviewsample-1/lib/arm/libdcdn.so"...
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at java.lang.Runtime.loadLibrary(Runtime.java:372)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at java.lang.System.loadLibrary(System.java:1076)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at com.clostra.dcdn.Dcdn.<clinit>(Dcdn.java:5)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at com.clostra.dcdn.Dcdn.init(Dcdn.java:12)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at com.example.webviewsample.MainActivity.onCreate(MainActivity.java:48)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:6303)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2483)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.app.ActivityThread.access$900(ActivityThread.java:153)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:5441)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
07-13 11:07:10.144 26493 26493 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)

Implying that if the code does work on Androids, it does so only on the most modern ones (currently Nougat with API level 24 and 25) with the current market share of ~11.5% globally, and very likely a lot less in the countries of interest.

from newnode.

inetic avatar inetic commented on August 22, 2024

Looks like we would need to build to API level 19 to deal.

Yes, that is what my googling got me to believe as well. I think building dCDN with that API level shouldn't be a problem, it's the web view example app which seems to make use of the high API level.

from newnode.

inetic avatar inetic commented on August 22, 2024

Got it working with Marshmallow (NDK API 23) by changing this. I was however not successful with lowering that further (some compilation error I haven't looked much into yet).

Trying to run the android-23 version on an android-19 device now gives me the missing rand symbol error.

from newnode.

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.