Closed Bug 1231667 Opened 8 years ago Closed 8 years ago

No ANDROID_HOME when running ./gradlew clean app:assembleDebug

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
Firefox 45
Tracking Status
firefox45 --- fixed

People

(Reporter: mcomella, Assigned: nalexander)

References

Details

Attachments

(2 files)

Attached file Output
Following [1], I ran build, artifact install, package, and 

 ./gradlew clean app:assembleDebug

from the root mozilla-central dir. I get the following error:

A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
   > SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
   > Task with name 'spoonDebugAndroidTest' not found in project ':app'.

See attachment for full log.

[1]: https://developer.mozilla.org/en-US/docs/Simple_Firefox_for_Android_build#Developing_Firefox_for_Android_in_Android_Studio_or_IDEA_IntelliJ
Bug 1231667 - Set Android SDK directory in topsrcdir Gradle configuration. r=me f?mcomella
Assignee: nobody → nalexander
Comment on attachment 8697281 [details]
MozReview Request: Bug 1231667 - Set Android SDK directory in topsrcdir Gradle configuration. r=me f?mcomella

https://reviewboard.mozilla.org/r/27537/#review24831

Patch wfm.
Attachment #8697281 - Flags: review+
https://hg.mozilla.org/integration/fx-team/rev/9bf656e590828c353452477c1553a98b0385eb53
Bug 1231667 - Set Android SDK directory in topsrcdir Gradle configuration. r=me f=mcomella
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/9bf656e59082
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.