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
{{ message }}
This repository has been archived by the owner on May 31, 2020. It is now read-only.
I created a python file that has a single function that returns an integer.
I used VOC to compile this into a class file, and then used the jar tool to put this into a jar file. Then, I included this jar as a dependent file in a hello world android studio project, but it doesn't compile.
I'm not sure if I understand exactly what are you trying to do.
I haven't tried importing a jar file with VOC compiled classes before in
Intellij, but that's an interesting experiment!
I don't know if it would work (because the bytecode we generate is quite
different from a Java compiler).
One thing you would have to do to be able to call it from the Java side is
to use type annotations, with the equivalent Java types (this is not
documented yet).
Can you share how exactly did you build that jar file?
Le 20 janv. 2018 9:36 PM, "fyookball" <notifications@github.com> a écrit :
Total VOC noob here.
I created a python file that has a single function that returns an integer.
I used VOC to compile this into a class file, and then used the jar tool to
put this into a jar file. Then, I included this jar as a dependent file in
a hello world android studio project, but it doesn't compile.
https://i.imgur.com/IsAwU5N.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#725>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACSvfLfHZ1-NipEUm0zUEQaXQ7bHrqKks5tMlxtgaJpZM4RlmFy>
.
@eliasdorneles What am I trying to do? I'm trying to have python code get turned into usable java for an android app..isn't that the point of VOC? (or one of the use cases).
How I built the jar file: I simply used the jar command on the command line on the class file.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Total VOC noob here.
I created a python file that has a single function that returns an integer.
I used VOC to compile this into a class file, and then used the jar tool to put this into a jar file. Then, I included this jar as a dependent file in a hello world android studio project, but it doesn't compile.
https://i.imgur.com/IsAwU5N.png
The text was updated successfully, but these errors were encountered: