1
General discussions / Android SDK 34 Font/Text issue
« on: May 31, 2025, 06:53:19 pm »
Hi, I have a fully working app built with SFML 2.6 for Android (SDK 33 and below).
I'm preparing for release, but I noticed that on Android SDK 34, SFML doesn't behave as expected — specifically, the app crashes when trying to render (draw) text using sf::Text.
Before I start migrating to SFML 3.x, I'd like to ask:
Has this issue been fixed in SFML 3.x already?
Or is there any known workaround for SFML 2.6 that would allow me to keep using it for now?
Thanks in advance!
/lib/x86_64/libsfml-graphics-d.so (sf::Texture::copyToImage() const+626) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Texture::update(sf::Texture const&, unsigned int, unsigned int)+248) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Texture::update(sf::Texture const&)+32) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Texture::Texture(sf::Texture const&)+287) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Font::Page::Page(sf::Font::Page&&)+60) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Font::loadPage(unsigned int) const+180) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Font::getTexture(unsigned int) const+26) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Text::ensureGeometryUpdate() const+156) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Text::draw(sf::RenderTarget&, sf::RenderStates) const+54) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::RenderTarget::draw(sf::Drawable const&, sf::RenderStates const&)+175) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-system-d.so (sf::Thread::run()+25) (BuildId: 3528b2aa2c2bb0e8cec9e9b4d11fcae90e2d20f6)
I'm preparing for release, but I noticed that on Android SDK 34, SFML doesn't behave as expected — specifically, the app crashes when trying to render (draw) text using sf::Text.
Before I start migrating to SFML 3.x, I'd like to ask:
Has this issue been fixed in SFML 3.x already?
Or is there any known workaround for SFML 2.6 that would allow me to keep using it for now?
Thanks in advance!
/lib/x86_64/libsfml-graphics-d.so (sf::Texture::copyToImage() const+626) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Texture::update(sf::Texture const&, unsigned int, unsigned int)+248) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Texture::update(sf::Texture const&)+32) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Texture::Texture(sf::Texture const&)+287) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Font::Page::Page(sf::Font::Page&&)+60) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Font::loadPage(unsigned int) const+180) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Font::getTexture(unsigned int) const+26) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Text::ensureGeometryUpdate() const+156) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::Text::draw(sf::RenderTarget&, sf::RenderStates) const+54) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-graphics-d.so (sf::RenderTarget::draw(sf::Drawable const&, sf::RenderStates const&)+175) (BuildId: 143156b11f1e7688c99cca42702019eea822d896)
/lib/x86_64/libsfml-system-d.so (sf::Thread::run()+25) (BuildId: 3528b2aa2c2bb0e8cec9e9b4d11fcae90e2d20f6)
