You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binary is built with --fat_apk_cpu=armeabi-v7a,arm64-v8a flag. Both so files are in place, but both of them don't have the native method from native-lib.cpp
FATAL EXCEPTION: main
Process: com.example.android.bazel, PID: 30069
AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String com.example.android.bazel.MainActivity.stringFromJNI() (tried Java_com_example_android_bazel_MainActivity_stringFromJNI and Java_com_example_android_bazel_MainActivity_stringFromJNI__)
at com.example.android.bazel.MainActivity.stringFromJNI(Native Method)
at com.example.android.bazel.MainActivity.onCreate(MainActivity.java:20)
at android.app.Activity.performCreate(Activity.java:7802)
at android.app.Activity.performCreate(Activity.java:7791)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
The text was updated successfully, but these errors were encountered:
Ubuntu :19.04
Bazel : 1.1.0
SDK API :29
NDK : 20
Binary is built with
--fat_apk_cpu=armeabi-v7a,arm64-v8a
flag. Both so files are in place, but both of them don't have the native method fromnative-lib.cpp
The text was updated successfully, but these errors were encountered: