Troubleshooting the Mobile SDK
Overview
There are several relatively common environment issues you may come across when working with the mobile SDK. This article covers some of the more common errors you might encounter while building your app with the SDK or when installing libraries. Refer to the Mobile SDK Developer guide for more information on creating apps using the mobile SDK.
Build Failures
Gradle Access
Android builds may fail with the following message: EACCES with <some path>/gradle
. Note that you may have to use the --verbose
option to see the error message.
To correct the issue, run the following command from your terminal: chmod +x <some path>/gradle
.
License Agreements
Android builds may fail with the following message: You have not accepted the license agreements of the following...
.
To correct the issue, run the following command from your terminal: $ANDROID_HOME/tools/bin/sdkmanager --licenses
.
Library Installation Errors
Librsvg
Running brew install librsvg
may fail with an EACCES error.
Brew package manager recommends using the install command without sudo
. Run the following command to change permissions: sudo chown -R $(whoami):admin /usr/local
.
Last modified: 2020-02-12 16:33:58