0

I've successfully compiled and able to run the app into the device, since I am getting this issue trying to use any JNIs function.

Here is the error which I am stuck at -

enter image description here

TechValens
  • 437
  • 6
  • 20
  • How are you doing the NDK integration? With `externalNativeBuild { cmake {` in your `build.gradle`? Can your show the relevant build scripts? – Michael Oct 11 '18 at 13:48
  • Also, the code in your screenshot appears to be Java code, so I'm not sure why the question is tagged [kotlin](?) – Michael Oct 11 '18 at 13:51
  • @Michael - Now getting this error `Could not initialize class kotlin.reflect.jvm.internal.impl.serialization.ProtoBuf$PackageFragment` – TechValens Oct 11 '18 at 14:03
  • @Michael - I am using ndk-build `externalNativeBuild { ndkBuild { path 'Android.mk' } }` – TechValens Oct 11 '18 at 14:03

0 Answers0