Let the platform do the work

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.