Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Use android lib in armbian

Featured Replies

There is a problem, can someone tell me the solution.

There is a library of video surveillance systems manufacturer Assembly for Windows Linux x86 64 and Android.

Is it possible to start the assembly of its application in the ARM Linux using the library for Android if it is assembled with the Bionic.

I could not get:

 



> LC_ALL=c g++ test.cpp -L. -lxmnetsdk -Wl,-rpath,. -o testsdk
/usr/bin/ld: warning: liblog.so, needed by ./libxmnetsdk.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libstdc++.so, needed by ./libxmnetsdk.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: testsdk: hidden symbol `fstat' in /usr/lib/arm-linux-gnueabihf/libc_nonshared.a(fstat.oS) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status


 

Warning corrected by creating links and installation of the library, but I failed to "fstat" overcome.

This problem occurs on the Internet link, but the solution I could not find.

Who sent out requests to rebuild this library for ARM Linux, but the chances of it .... :(

 

PS. I understand that this is a problem different glibc, but suddenly someone knows the solution

Android SDK.zip

There is always libhybris project which lets you use Android (bionic) libraries on ordinary (glibc) Linux. The catch is that if you intend to use some non standard library, you have to extend libhybris source with wrapper for it (or at least I understand it that way). Oh, did I mention that you also need other Android libraries, on which your lib depends (and dependencies of those libs and so on)? But at least they can be extracted from some Android image.

 

I didn't use it so good luck!

  • Author

There is always libhybris project which lets you use Android (bionic) libraries on ordinary (glibc) Linux. The catch is that if you intend to use some non standard library, you have to extend libhybris source with wrapper for it (or at least I understand it that way). Oh, did I mention that you also need other Android libraries, on which your lib depends (and dependencies of those libs and so on)? But at least they can be extracted from some Android image.

 

I didn't use it so good luck!

 

 

Excellent - assembled libxmnetsdk and libhybris - everything is working !!!! Thanks for your reply!

  • Author

Just curious, did you need to rebuild any Android library or just extract everything from some Android image? For which SoC?

1) I compiled from source library for BananaPi Android
2) I found on the Internet is already the compiled charges according to Article Cubieboard (Android CyanogenMod)
Both assemblies are working perfectly.

libhybris - compiled with header files from Android Banana Pi

SoC - A20, but at me to the hardware part of anything not tied. 

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.