Category : android-ndk

// Android NDK sp<TheClass> mPtr1; // TheClass must inherit from class RefBase // Cplus std::shared_ptr<TheClass> mPtr2(new TheClass); C++ already has shared_ptr (Smart Pointer), why does Android use Strong Pointer? What are the advantages of Strong Pointer compared to shared_ptr? Source: Android..

Read more

I have upgraded my mac to Big Sur. The project uses NDK and I have set the path as well on .bash_profile. export ANDROID_NDK_HOME=/Users/username/Library/Android/sdk/ndk-bundle After Big Sur upgrade, the below error: Caused by: org.gradle.api.InvalidUserDataException: NDK is not installed NDK is already installed and path is been set. Anything which is changed.Kindly refer. Source: Android Studio ..

Read more

I am trying to build an android app, but the build is failing with the following error NDK is missing a "platforms" directory. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:UsersfernsAppDataLocalAndroidSdkndk-bundle. If you are not using NDK, unset the NDK variable from ..

Read more