- Home /
How to get android sample plugin to compile
I've been searching to no end to figure out how to take the JavaPluginSample in the Unity reference manual and get it to compile.
I'm working on Windows I thought I installed everything I need but I can not get things to compile out of the box.
Would someone be kind enough to write a walkthough? I've searched answers, docs, and message boards and have not found a single guide.
Here is what I'm getting:
$ sh build_plugins.sh
Building JavaClass... Fatal Error: Unable to find package java.lang in classpath or bootclasspath
Signature dump of JavaClass... ERROR:Could not find org.example.ScriptBridge.JavaClass Creating JavaClass.jar... org : no such file or directory java.util.zip.ZipException: ZIP file must have at least one entry at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304) at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:146) at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321) at sun.tools.jar.$$anonymous$$ain.create($$anonymous$$ain.java:468) at sun.tools.jar.$$anonymous$$ain.run($$anonymous$$ain.java:180) at sun.tools.jar.$$anonymous$$ain.main($$anonymous$$ain.java:1149)
Compiling NativeJavaBridge.cpp... cygwin warning: $$anonymous$$S-DOS style path detected: /usr/local/bin/"C:\Program Preferred POSIX equivalent is: /usr/local/bin/"C:/Program CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames build_plugins.sh: line 16: "C:\Program: command not found mv: cannot stat `libs/armeabi/libjavabridge.so': No such file or directory
Cleaning up / removing build folders...
Done!
Your answer
Follow this Question
Related Questions
How to access an Android native plugin in unity ? 0 Answers
Different approaches to Android plugins 0 Answers
Native c++ plugin on android 0 Answers