Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Issues in upgarding to Android Studio v2.3 #976

Closed
miankhalid opened this issue Jul 25, 2017 · 1 comment
Closed

Issues in upgarding to Android Studio v2.3 #976

miankhalid opened this issue Jul 25, 2017 · 1 comment

Comments

@miankhalid
Copy link
Contributor

miankhalid commented Jul 25, 2017

Problem

After upgrading Android Studio to v2.3.x and with it the various libraries, we have been encountering the following error:

Error:Execution failed for task ':OpenEdXMobile:validateSigningDevRelease'.

Keystore file /$HOME/edx-app-android/OpenEdXMobile/edx-android-release-key.keystore not found for signing config 'releasekey'.

Solution

  1. Change the build variant to devDebuggable.

screen shot 2017-07-25 at 4 31 37 pm

  1. Following any steps from the ones mentioned below would work:

    • Sync project with gradle files. (Press the Try Again button) screen shot 2017-07-25 at 4 32 38 pm

    • Clean the project (Build --> Clean from Android Studio's top menu bar) screen shot 2017-07-26 at 4 00 33 pm

    • Adding a gradle.properties file with no content at the root of project i.e. under the OpenEdXMobile folder with nothing in it also solves this problem.

  2. Refresh all Gradle projects. (View -- > Tool Windows --> Gradle from Android Studio's top menu bar) [By pressing the blue recycle icon in the snapshot below]

screen shot 2017-07-25 at 4 32 58 pm

@miankhalid
Copy link
Contributor Author

Marking this as resolved.

@miankhalid miankhalid changed the title Execution failed for task ':OpenEdXMobile:validateReleasekeySigning'. Issues in upgarding to Android Studio v2.3 Aug 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant