Comments (5)
Relevant link:
https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md
from newnode.
Looks like we would need to build to API level 19 to deal.
from newnode.
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.
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.
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)
- jCenter deprecation HOT 3
- Swift Package Manager integration issues HOT 1
- ios crashes - newnode_init HOT 3
- Building and linking Android library HOT 13
- Feature request: Bugsnag opt-out
- Feature request: opt out from sending statistics to stats.newnode.com
- Feature request: opt out from searching near by devices and using Bluetooth on iOS HOT 3
- iOS. NewNode proxy does not receive connections after returning app from background HOT 8
- BatteryLevelReceiver ClassNotFoundException HOT 2
- Publish SHA256 checksums with releases HOT 1
- Couldn't get NearBy to work on Android HOT 3
- wget subprocess crashes on Ubuntu 22.04 HOT 3
- Fireside with NewNode 2.0.5 crashes on devices with Android API < 31 HOT 1
- bug in the client HOT 2
- Can't run project on iOS simulator on M1 macbook
- iOS asking for permission even when disabled
- iOS VPN: ViewController Architecture Problem HOT 2
- [Feature Request] Remove SMS registration in NewNode messenger HOT 2
- restart BTLE after backgrounding HOT 2
- [iOS] Registration doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newnode.