android / android/ndk

[FR] make it possible to exec from an APK similar to how we can dlopen from an APK?

Open
#1,061 20 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
2.3k
Forks
310
PR merge metrics
No merged PRs in 30d

Description

Not the right bug tracker, but we don't have a public buganizer component for the loader atm so filing this here for visibility.

`dlopen` will automatically search the app's install directory, but I don't think it will search within the APK. Given that it would be best for app developers to move toward loading libraries directly from the APK, we should make this as painless as possible.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the loader behavior around dlopen and APK search; the issue names no files or tests. Done means app developers can execute a native library directly from an APK with behavior comparable to loading it via dlopen, with the relevant behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.