79482210

Date: 2025-03-03 21:47:45
Score: 0.5
Natty:
Report link

after some reseach i've able to run it at android_86_64
edit build.gradle.kts add

externalNativeBuild {
            cmake {
                cppFlags += "-std=c++20 -std=gnu++20"
                arguments += "-DANDROID_STL=c++_shared"
            }
        }  

after add manifest permisions

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 

and im able to do simple db request

mysqlx::RowResult res = session->sql("show variables like 'version'").execute();
version = res.fetchOne().get(1).get<std::string>();

i can take db server version but if im try to get SELECT NOW(); i got issues that android cant take output result to JDI

Abort message: 'JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal continuation byte 0xf

I'm tryed session->sql("SET NAMES utf8mb4;").execute(); but it doesnt help .... and still cant compile for armv8

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ripper