Open DuilioPerez opened 3 days ago
Fyne version
fyne cli version: (devel)
Please list the library version not the cli.
More info:
Please share what is at line 136 of /usr/include/EGL/egl.h
- the specification states that it is implementation specific but obviously for many platforms it is working, so we need to see what yours is expecting.
Correcting title as this is compile specific. If you compiled the android app elsewhere and copied it on then it would execute as far as I can see.
Oh, hold on - isn't termux a linux emulator for Android? In that case you should probably try "fyne package -os linux" because it's trying to build an android app from a linux terminal.
Oh, hold on - isn't termux a linux emulator for Android? In that case you should probably try "fyne package -os linux" because it's trying to build an android app from a linux terminal.
That command have the same error. Termux is an Android Linux emulator, but it uses bionic instead of glibc. It's default compiles for linux-android.
The content of line 136 is:
EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);
And the other issue is about Android API Level too low
Fyne version is 2.5.1
The content of line 136 is: EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);
Thanks, and what is the definition of EGLNativeWindowType
on that platform (also, where is it defined?)
And the other issue is about Android API Level too low
Google Play Protect hates our backwards compatibility - it is not a problem, just a nuisance.
There is a related issue, maybe that information can help: https://github.com/hajimehoshi/ebiten/issues/3057
And with the issue related to API Level, it could be usefull to have a way to use a API Level which allow external distributions. Maybe an option on the CLI tool.
it could be usefull to have a way to use a API Level which allow external distributions.
It is not clear what distribution is blocked by our backwards compatibility.
Well, it seems google play blocks apps according to the used target sdk. So isn't the minimun API Level what needs to be updated but the target sdk, acording to the Android SDK documentation, which is updated every year, so that's the only which need to be updated.
It is not blocked - it is a warning that you can accept.
Our target SDK is above the minimum required. If it wasn't then Google would have removed the listing from the store.
"Google Play Protect" is a level above what is required by the store if I understand it correctly. Apps using the latest fyne should always be compliant with the published policies.
That command have the same error. Termux is an Android Linux emulator, but it uses bionic instead of glibc. It's default compiles for linux-android.
Then please try setting GOOS=linux. I can tell it is compiling for Android because it is linking to the mobile driver...
Checklist
Describe the bug
I've followed the instructions from your getting start page to install fyne in Termux, but I've found some issues: 1 - It can't compile programs directly for Termux: 2 - Android API level used is too low:
How to reproduce
1: Run
go build
in the firs example app 2: Install an appScreenshots
1:
2:
Example code
Fyne version
fyne cli version: (devel)
Go compiler version
go version go1.23.1 android/arm64
Operating system and version
Android 11
Additional Information
No response