Skip to content

Conversation

@prisonerjohn
Copy link
Contributor

Trying to get Android working with 0.12.1 on Windows... still WIP
I noticed a couple of typos fixed here.

@prisonerjohn
Copy link
Contributor Author

Projects are compiling but still not running. There's some type of linking error with OF at runtime. The app loads and runs but nothing happens.

I tried using OF_STATIC=true and get the following log:
Loading the library normally failed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++_shared.so" not found

I tried using OF_STATIC=false and get the following log:
Loading the library normally failed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libopenFrameworksAndroid.so" not found

@danoli3
Copy link
Member

danoli3 commented Apr 28, 2025 via email

@prisonerjohn
Copy link
Contributor Author

Thanks @danoli3! I'm assuming you mean the changes in this PR?

I brought those in to test BUT the new projects are missing the gradle wrapper (looks like it was removed from the template project). I tried adding it back in and that gets the build going but I still get a runtime crash:

Cmdline: cc.openframeworks.emptyExample
pid: 9590, tid: 9620, name: Thread-2  >>> cc.openframeworks.emptyExample <<<
        #00 pc 000000000057cfe0  /data/app/~~DeWzwrnF2XYQ48TyW0dHcQ==/cc.openframeworks.emptyExample-gMBvskePhVCjpSxG1AXIYQ==/base.apk!libopenFrameworksAndroid.so (offset 0xdcc000) (BuildId: ee08fbe21613093fb1d2e161fffb13ac5e998ef9)
        #18 pc 00000000003818f8  /data/app/~~DeWzwrnF2XYQ48TyW0dHcQ==/cc.openframeworks.emptyExample-gMBvskePhVCjpSxG1AXIYQ==/base.apk (offset 0x487000) (com.getkeepsafe.relinker.SystemLibraryLoader.loadLibrary+0)
        #24 pc 00000000003814f8  /data/app/~~DeWzwrnF2XYQ48TyW0dHcQ==/cc.openframeworks.emptyExample-gMBvskePhVCjpSxG1AXIYQ==/base.apk (offset 0x487000) (com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal+0)
        #30 pc 0000000000381374  /data/app/~~DeWzwrnF2XYQ48TyW0dHcQ==/cc.openframeworks.emptyExample-gMBvskePhVCjpSxG1AXIYQ==/base.apk (offset 0x487000) (com.getkeepsafe.relinker.ReLinkerInstance.access$000+0)
        #36 pc 0000000000381168  /data/app/~~DeWzwrnF2XYQ48TyW0dHcQ==/cc.openframeworks.emptyExample-gMBvskePhVCjpSxG1AXIYQ==/base.apk (offset 0x487000) (com.getkeepsafe.relinker.ReLinkerInstance$1.run+0)

@ofTheo
Copy link
Member

ofTheo commented Apr 29, 2025

@danoli3 would love to release 0.12.1
Android is the only thing holding it up. If you want to point @prisonerjohn or myself towards what's needed I'd be more than happy to help, otherwise we can just release 0.12.1 now and add Android later when it's ready.

@danoli3
Copy link
Member

danoli3 commented May 5, 2025

Okay was able to turn virtualisation on my windows machine:
image

seems like issue with ofxAccel

@danoli3
Copy link
Member

danoli3 commented Jul 21, 2025

This is fixed now

@danoli3 danoli3 closed this Jul 21, 2025
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.

3 participants