Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi @berak, you are right I just came to the same conclusion on my side. Changing the STL in the build.gradle is solving the issue !

externalNativeBuild {
            cmake {
                cppFlags "-frtti -fexceptions -std=c++11"
                arguments "-DANDROID_STL=c++_shared", "-DANDROID_STL=c++_shared"
                ...
            }
        }

I am a new user and needs 48 hours before being allowed to answer my own issue. I suggest you

Hi @berak, you are right I just came to the same conclusion on my side. side from this post Changing the STL in the build.gradle is solving the issue !

externalNativeBuild {
            cmake {
                cppFlags "-frtti -fexceptions -std=c++11"
                arguments "-DANDROID_STL=c++_shared", "-DANDROID_STL=c++_shared"
                ...
            }
        }

I am a new user and needs 48 hours before being allowed to answer my own issue. I suggest youyou post the answer.

Hi @berak, you are right I just came to the same conclusion on my side from this post Changing the STL in the build.gradle is solving the issue !! I had :

arguments "-DANDROID_STL=c++_shared", "-DANDROID_STL=gnustl_shared", "-DANDROID_ARM_NEON=TRUE"

Now I removed the reference to gnustl.

externalNativeBuild {
            cmake {
                cppFlags "-frtti -fexceptions -std=c++11"
                arguments "-DANDROID_STL=c++_shared", "-DANDROID_STL=c++_shared"
                ...
            }
        }

I am a new user and needs 48 hours before being allowed to answer my own issue. I suggest you post the answer.

Hi @berak, you are right I just came to the same conclusion on my side from this post Changing the STL in the build.gradle is solving the issue ! I had :

arguments "-DANDROID_STL=c++_shared", "-DANDROID_STL=gnustl_shared", "-DANDROID_ARM_NEON=TRUE"
"-DANDROID_STL=gnustl_shared"

Now I removed the reference to gnustl.

externalNativeBuild {
            cmake {
                cppFlags "-frtti -fexceptions -std=c++11"
                arguments "-DANDROID_STL=c++_shared"
                ...
            }
        }

I am a new user and needs 48 hours before being allowed to answer my own issue. I suggest you post the answer.