Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ina · Nov 04, 2011 at 07:26 AM · androidmacpluginsclassesjar

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 Files\Unity\Editor\Data (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?

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image lbalasubbaiahapps · Nov 04, 2011 at 01:18 PM 0
Share

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

avatar image bobbake4 · Nov 10, 2011 at 09:11 PM 0
Share

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?

avatar image ina · Nov 15, 2011 at 07:08 AM 0
Share

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

avatar image ina · Nov 16, 2011 at 05:00 AM 0
Share

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

1 Reply

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by syclamoth · Nov 15, 2011 at 07:13 AM

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.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ina · Nov 16, 2011 at 04:59 AM 0
Share

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

avatar image JHSV · Sep 10, 2013 at 08:45 PM 0
Share

But I can't access that file from within eclipse, which is what I'm using to add classes.jar to my project. How can I reveal the file from within eclipse on a $$anonymous$$ac so I can add it to the project?

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Facebook SDK IGraphResult is returning null values in Unity 2017.1.0f3 1 Answer

XML Manifest: Unity and Android 1 Answer

Unity doesn't find a *.so lib in my aar file 1 Answer

How do I use Java callbacks? 1 Answer

Got stuck trying to extend UnityPlayerActivity following example in Unity documentation. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges