x


Location of PlaybackEngines/AndroidPlayer/bin on a Mac to find classes.jar ?

To quote from: http://unity3d.com/support/documentation/Manual/Plugins.html

"To do that first locate the classes.jar shipped with Unity Android. It is found under the installation folder (usually C:Program FilesUnityEditorData (on Windows) or /Applications/Unity (on Mac)) in a folder called PlaybackEngines/AndroidPlayer/bin. Then add that classes.jar file to the classpath used to compile the new activity. "

But, there isn't such a directory on Mac - at least, I can't find that in Applications/Unity ... does anyone know wherewhere to find classes.jar?

more ▼

asked Nov 04 '11 at 07:26 AM

ina gravatar image

ina
3.3k 492 549 599

hi ina we are not getting directly classes.jar file through in unity(playbackengine).we are tried first classes.jar file copy and paste some other place after you give that path.if you dont understand my language send me

Nov 04 '11 at 01:18 PM lbalasubbaiahapps

I am looking for this as well but cannot find it to link to my android project. Please if someone could just point to where the classes.jar file is located on a mac?

Nov 10 '11 at 09:11 PM bobbake4

I just took classes.jar from my PC/Windows..

Nov 15 '11 at 07:08 AM ina

as @syclamoth explains below, it is actually inside Unity.app in that directory above, but you have to right click to expand "Show Package Contents" ... full path after that: /Applications/Unity/Unity.app/Contents/PlaybackEngines/AndroidPlayer/bin

Nov 16 '11 at 05:00 AM ina
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Right-click on your 'Unity.app' in the applications window, and select 'Show Package Contents'. This will expand the .app out into a small filesystem, in which you can find the files you are looking for.

This happens because applications on MacOS are evaluated by Finder as executables, but are actually folders which get special treatment- the actual executable is buried deep within the package (usually at Contents/MacOS/something). This allows a program to have all its required resources neatly packaged inside itself, without needing to do something convoluted like uncompressing a tarball of some kind at runtime.

more ▼

answered Nov 15 '11 at 07:13 AM

syclamoth gravatar image

syclamoth
14.8k 7 15 80

Wow, to think it was there the whole time! And I learned something a bit more about Mac, too - thank you!!

Nov 16 '11 at 04:59 AM ina
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2474
x337
x124
x87
x10

asked: Nov 04 '11 at 07:26 AM

Seen: 2191 times

Last Updated: Nov 16 '11 at 05:00 AM