In my case, I changed below file to modify vm heap option.
C:\Program Files\Android\android-studio\bin\studio.exe.vmoptions
I increased -Xms128m to -Xms512m and restarted Android Studio.
After that, I could go to next step.
More Related Contents:
- Error retrieving parent for item: No resource found that matches the given name after upgrading to AppCompat v23
- Include .so library in apk in android studio [duplicate]
- You have not accepted the license agreements of the following SDK components [duplicate]
- How do I show dependencies tree in Android Studio?
- Could not find com.android.tools.build:gradle:3.0.0-alpha1 in circle ci
- Android Studio – mergeDebugResources exception
- How do I import material design library to Android Studio?
- Android Studio how to package single AAR from multiple library projects?
- AndroidStudio gradle proxy
- Android Studio: Gradle sync failed: Could not HEAD ‘…’. Received status code 502 from server: Bad Gateway [closed]
- Incompatible plugins for android-apt after upgrading to Android Studio 2.3
- Android Studio : Failure [INSTALL_FAILED_OLDER_SDK]
- How to resolve java.util.zip.ZipException?
- Android Studio Gradle issue upgrading to version 0.5.0 – Gradle Migrating From 0.8 to 0.9 – Also Android Studio upgrade to 0.8.1
- Run lint when building android studio projects
- How to automatically uninstall android app from device before installing a new version
- Android Studio how to run gradle sync manually?
- Upgraded to Android studio 3.4 – Aapt2InternalException: AAPT2: Daemon startup failed
- Android Studio – Unable to find valid certification path to requested target
- Recompile with -Xlint in Android studio
- Android Studio: Exclude resource file under resources sourceSets
- build.gradle and project libs
- First launch take long time (ClassLoader referenced unknown path)
- Android Studio and Gradle build error
- Gradle flavors for android with custom source sets – what should the gradle files look like?
- Import an eclipse android project with version control system into Android Studio
- After update android studio could not create parent directory for lock file
- Could not find property ‘outputFile’ on com.android.build.gradle.internal.api.ApplicationVariantImpl
- While Android Studio Updated to v3.3 getting API ‘variant.getAssemble()’ is obsolete and has been replaced with ‘variant.getAssembleProvider()’
- Manually adding aar with dependency pom/iml file