Open jverkoey opened 7 years ago
After solving the above I ran into the following error:
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html.
File /Users/featherless/.android/repositories.cfg could not be loaded.
Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.
java.lang.RuntimeException: You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 24, Android SDK Build-Tools 24.0.3].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
Looks like I need to install 24.0.3
specifically.
After installing 24.0.3 I then received the following error:
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html.
Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.
java.lang.RuntimeException: You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 24].
Appears that 24.0.3 doesn't qualify as a version 24....so installing that now >.<
Couldn't find the license agreement, so I tried creating a new project and hitting build rather than running the runtime-android gradlew script. Finally saw this screen ^ and now appear to be installing a third SDK.
I had to manually download the sdk from here: https://dl.google.com/android/repository/sys-img/google_apis/x86_64-24_r10.zip
and then put the extracted files here:
~/Library/Android/sdk/system-images/android-24/google_apis/x86_64
Is downloading another .zip:
Looking for SDK updates...
Preparing "Install Intel x86 Emulator Accelerator (HAXM installer)".Downloading https://dl.google.com/android/repository/extras/intel/haxm-macosx_r6_0_5.ziphttps://dl.google.com/android/repository/extras/intel/haxm-macosx_r6_0_5.zip
Another download dialog ^
Another dialog:
Ran gradlew again and it's asking me to re-download the sdk again :(
I get the following error the first time I try to run
./gradlew check
:To solve this I had to add the following to my bash_profile: