Forums

OverviewV-Play Installation › How to set Android SDK location on Mac?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8581

    Martin

    I’ve downloaded the Android SDK: on a Mac this is simply a .app file that goes in /Applications

    So how do you set the path to it in the VPlay Preferences->Android “Android SDK Location” setting?

    This thing appears to be wanting a “folder”, and so when I browse for the location, the “Android Studio.app” is greyed out.

     

    #8583

    Alex
    V-Play Team

    Hi,

    If you’re using the Android Studio Download the SDK is most likely within the .app bundle (which is basically just a folder) or will get installed after opening Android Studio for the first time.

    Alternatively you can follow these steps:

    • Download “android-sdk_r24.0.2-macosx.zip” from http://developer.android.com/sdk/index.html#Other and extract it (e.g. to /Development/Android-SDK)
    • Open the “android” binary from within the “tools” directory (most probably with a right click -> open as it is not signed by Google) & press the button “Install x packages”
    • Download the Android NDK from https://developer.android.com/tools/sdk/ndk/index.html (you can use the 32 bit version as some V-Play community members reported an issue with the 64 bit download) and extract it (e.g. to /Development/Android-NDK)
    • Open Qt Creator of your V-Play installation, open the preferences and add the SDK & NDK paths (see above) (the JDK location should be something like: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home)
    • Restart Qt Creator to auto-set up the Android kits

    Please let me know if this solves your installation problem.

    Best,

    Alex

    #8586

    Martin

    Thanks for your fast answer.

    For some reason, the SDK was never installed on my machine under /User/<user>/Library, as some document suggested it would be when I installed the Studio.

    The separate SDK download that you describe appears to have worked.

     

    #8587

    Martin

    … and I have to say I’m pretty impressed how easy it was to run the template app on the Android device: nice smooth integration there!

    #8993

    Anders

    How do I extract the android-ndk file, nothing seems to work :( Oh and I´m a mac newbie :)

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support