Skip to content

Build Android apk, fixes, workflows update#19

Merged
o-murphy merged 30 commits intomainfrom
build/android
Apr 25, 2026
Merged

Build Android apk, fixes, workflows update#19
o-murphy merged 30 commits intomainfrom
build/android

Conversation

@o-murphy
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds Android support to the bclibc_ffi package by updating the library loading logic in Dart and providing a new CMake configuration for the build process. Review feedback suggests using the lib() helper function for Android to maintain consistency with other platforms and recommends removing or conditionalizing debug messages in the CMakeLists.txt file to keep the build output clean.

}

if (Platform.isLinux) return ffi.DynamicLibrary.open(lib('libbclibc_ffi.so'));
if (Platform.isAndroid) return ffi.DynamicLibrary.open('libbclibc_ffi.so');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with other platforms and to leverage the lib() helper function's logic (e.g., for development paths), consider using lib('libbclibc_ffi.so') instead of directly opening the library name.

Suggested change
if (Platform.isAndroid) return ffi.DynamicLibrary.open('libbclibc_ffi.so');
if (Platform.isAndroid) return ffi.DynamicLibrary.open(lib('libbclibc_ffi.so'));

Comment on lines +10 to +11
message(STATUS "[bclibc_ffi/android] Project root: ${PROJECT_ROOT}")
message(STATUS "[bclibc_ffi/android] bclibc path: ${BCLIBC_ROOT}")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

These message(STATUS) calls are useful for debugging but can clutter the build output for consumers of this library. Consider removing them or making them conditional (e.g., only in debug builds or if a specific CMake variable is set) once the Android build is stable.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

Linux AppImage Build

Build successful!

  • amd64: ✅
  • arm64: ✅

📦 Download AppImage
ebalistyka-linux-x86_64-release-0.1.2-dev-198 — available for 7 days

PR: #19 · Commit: 0f48009936b598d45a612d1b08ce32d71321d7d2

Test Instructions:

# Download and run
chmod +x ebalistyka-x86_64.AppImage
./ebalistyka-x86_64.AppImage

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

Windows EXE Build

Build successful!

  • amd64: ✅
    📦 Download EXE (amd64)
    ebalistyka-windows-x86_64-release-0.1.2-dev-211 — available for 7 days

PR: #19 · Commit: 0f48009936b598d45a612d1b08ce32d71321d7d2

Test Instructions:

# Download and extract
Expand-Archive ebalistyka-windows-x86_64-release-0.1.2-dev-211.zip
cd ebalistyka-windows-x86_64-release-0.1.2-dev-211

# Check if bclibc_ffi.dll exists
ls *.dll | findstr bclibc

# Run the app
.\ebalistyka.exe

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

Android APK Build

Build successful!

PR: #19 · Commit: 0f48009936b598d45a612d1b08ce32d71321d7d2

Test Instructions:

# arm64 (most modern phones)
adb install ebalistyka_android_arm64.apk
# arm32 (older phones)
adb install ebalistyka_android_armeabi_v7a.apk

@o-murphy o-murphy force-pushed the build/android branch 3 times, most recently from 820f09e to 2a9e1ba Compare April 24, 2026 23:52
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 25, 2026

Linux amd64 Build

Build successful!

📦 Download
ebalistyka-linux-x86_64-release-0.1.2-202

PR: #19 · Commit: 307c91c015b260a6ed4ca69d6ecfdd5b56f1ed19

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 25, 2026

Linux arm64 Build

Build successful!

📦 Download
ebalistyka-linux-aarch64-release-0.1.2-202

PR: #19 · Commit: 307c91c015b260a6ed4ca69d6ecfdd5b56f1ed19

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 25, 2026

Windows amd64 Build

Build successful!

📦 Download
ebalistyka-windows-x86_64-release-0.1.2-215

PR: #19 · Commit: 307c91c015b260a6ed4ca69d6ecfdd5b56f1ed19

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 25, 2026

Android Build

Build successful!

PR: #19 · Commit: 307c91c015b260a6ed4ca69d6ecfdd5b56f1ed19

@o-murphy o-murphy changed the title try to build android apk Build Android apk, fixes, workflows update Apr 25, 2026
@o-murphy o-murphy merged commit 1fd7e4a into main Apr 25, 2026
11 checks passed
@o-murphy o-murphy deleted the build/android branch April 25, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant