Fixed bug in .c file. To call java method from c, you must specificy also the return value. I mean, power method is int power (int a), this implies that the correct signature is "(I)I", not "(I)V"
Fixed bug in .c file. To call java method from c, you must specificy also the return value.
I mean, power method is int power (int a), this implies that the correct signature is "(I)I", not "(I)V"

Ks89/NdkExample_AndroidStudio,Ks89/NdkExample_AndroidStudio