My project stops working after updating gradle. I’m using a C library in Android though JNI. Using Cmake to compile and join the libraries Before, it compiled and linked without a problem, but now there is an error at link time when building the project. It throw this error: /home/my_user/Documents/Proyects/optandroid/app/src/main/cpp/kotlin-jni.c:152: error: undefined reference to ‘find_best_order’ ..
Category : linker
Android 4.1.1 compiledSdkVersion 30 targetSdkVersion 30 minSdkVersion 24 Gradle: 6.5 Android Gradle Plugin: 4.1.1 Changing application id in build.gradle leads to attribute not found error during linking applicationId "com.myltd.asg.myappid" I tried changing the package name to the same value just for testing but it does not remove the error. I know that according to the ..
I am following this guide. https://developer.android.com/google/play/billing/integrate my build.gradle looks like this: dependencies { implementation fileTree(dir: ‘libs’, include: [‘*.jar’]) implementation "com.android.support:appcompat-v7:28.0.0" implementation "androidx.constraintlayout:constraintlayout:2.0.4" implementation "com.google.android.gms:play-services-ads:19.6.0" implementation "com.android.billingclient:billing:3.0.0" androidTestImplementation "com.android.support.test:runner:1.0.2" androidTestImplementation "com.android.support.test.espresso:espresso-core:3.0.2" } The Java code in Android Studios 4 does not have recommended imports for BillingClient If I try this: import android.billingclient … "billingclient" shows up ..
I have a modularized application architecture with 3 module layers. A core library module at the bottom and an application library module and my application on top of it. Each builds it’s own native shared library. But not only the java code but also the C++ code in them also depends on each other. So ..
Recently switched our build targets to android 30 to add support for Android 11, now directions and call for phone are not working. The documentation mentions deep linking natively and or the use of an npm package. Would this be done natively? Or is the package an option? https://reactnative.dev/docs/linking Linking.canOpenURL is now returning false when ..
As you can see here, we implemented the in-app review feature on Android, but when a developer changes the Linker and Shrinker settings, we get a crash detailed below. My question is, do we need to make changes to the proguard file AND a LinkerPleaseInclude file? Also how to I know exactly what to add ..
As you can see here, we implemented the in-app review feature on Android, but when a developer changes the Linker to Link All and Shrinker to r8, we get a crash. The error message is as follows: Java.Lang.NoSuchMethodError: no non-static method "Lcom/google/android/play/core/review/c;.requestReviewFlow()Lcom/google/android/play/core/tasks/Task;" I was able to still use r8, d8 and Link All by adding ..
I am building a C++ library for android. I have X.so shared library which ends up in the android app and it’s accessed through JNI. I also have a Y.a static library which has few generic functions that is used by X.so. Y.a also has some JNI interface functions as well that should be accessible ..
I’m getting this error about multiple definition of ‘__aeabi_ul2f’ when compiling a big project on Android using CMake. Apparently one of the places where the definition is found is is on libsmoltcp_cpp_interface_rust.a(compiler_builtins-5ae026d08032e786.compiler_builtins.2kv22hwk-cgu.127.rcgu.o): previous definition here which is some Rust code mixed with C++ compiled like this in CMake: add_custom_target( lib_smol_tcp_rust COMMAND echo "————-COMPILING LIBSMOLTCP_CPP_INTERFACE RELEASE ..
I’m getting this error about multiple definition of ‘__aeabi_ul2f’ when compiling a big project on Android using CMake. Apparently one of the places where the definition is found is is on libsmoltcp_cpp_interface_rust.a(compiler_builtins-5ae026d08032e786.compiler_builtins.2kv22hwk-cgu.127.rcgu.o): previous definition here which is some Rust code mixed with C++ compiled like this in CMake: add_custom_target( lib_smol_tcp_rust COMMAND echo "————-COMPILING LIBSMOLTCP_CPP_INTERFACE RELEASE ..
Recent Comments