Java Question wrapping library with SLC

KZero

Active Member
Licensed User
Longtime User
Hi,

i'm trying to wrap this library using Simple Library Compiler
https://github.com/martoreto/opuscodec


I've compiled the .so files and trying to wrap the java files


i'm getting this error

Starting step: Compiling Java code.
javac 1.8.0_201
D:\Downloads\opuscodec-master\opuscodec-master\src\main\java\com\score\rahasak\utils\Annotations.java:3: error: package android.support.annotation does not exist
import android.support.annotation.IntDef;
^
1 error


Error.
 

DonManfred

Expert
Licensed User
Longtime User
you need to add the annotation jar from android.support.annotation
to your libs folder so slc can find it.
 
Top