ndk-samples
ndk-samples copied to clipboard
Android NDK samples with Android Studio
``` 2024-02-12 22:01:30.376 5817-6387 ActivityManagerWrapper com.miui.home E getRecentTasks: mainTaskId=101 userId=0 windowMode=1 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{com.example.sanitizers/com.example.sanitizers.MainActivity} } 2024-02-12 22:01:30.377 18260-18260 Zygote pid-18260 E process_name_ptr:18260 com.example.sanitizers 2024-02-12 22:01:30.416 5817-6387 ActivityManagerWrapper com.miui.home...
Recent pixel devices do not report armv7 arch support and only arm64-v8a. This causes benchmark test to exit early with message stating "Not an ARMv7 and not an X86 SSSE3...
`ALooper_pollAll` has been (soft) removed from the NDK because the implementation has a race so it can't be used safely. `ALooper_pollOnce` should be used instead.
Move class functions into a cpp file in a separate commit to improve readability for the project. Remove redundant functions and calls Report validation layer messages to logcat Auto-disable validation...
``` Process: com.example.native_activity, PID: 16011 java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.startup.InitializationProvider" on path: DexPathList[[],nativeLibraryDirectories=[/data/app/~~3qoxyJB8dcEurYEw244CSw==/com.example.native_activity-JdNJmuJoyIXaEFroweP_bw==/lib/x86_64, /data/app/~~3qoxyJB8dcEurYEw244CSw==/com.example.native_activity-JdNJmuJoyIXaEFroweP_bw==/base.apk!/lib/x86_64, /system/lib64, /system_ext/lib64]] at android.app.ActivityThread.installProvider(ActivityThread.java:7770) at android.app.ActivityThread.installContentProviders(ActivityThread.java:7276) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6983) at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown...
Well, first of all, the original NDK samples for camera works fine in an App setting. What I am struggling with is to get the same code to capture the...
https://developer.android.com/ndk/guides/graphics/getting-started points to https://github.com/KhronosGroup/Vulkan-Samples/blob/master/docs/build.md#android build.md which is no longer that, its 404 not found. new address is: https://github.com/KhronosGroup/Vulkan-Samples/blob/main/docs/build.adoc also android-studio-2023.2.1.23-windows fails to close the hello-jni application window with stop button....
https://lab.flipper.net/apps/dcf77
https://github-production-user-asset-6210df.s3.amazonaws.com/13052752/306638015-a879cd98-d5e0-446e-aaed-504528b99552.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240307%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240307T074924Z&X-Amz-Expires=300&X-Amz-Signature=c1d5a63246181f876461aaf96fe7befe628eb464d6eac2798529ba5063bf4cec&X-Amz-SignedHeaders=host&actor_id=162050158&key_id=0&repo_id=340547520