Closed Bug 665716 Opened 13 years ago Closed 13 years ago

build breaks when building SUTAgent with sdk level 11

Categories

(Firefox Build System :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla8

People

(Reporter: blassey, Assigned: blassey)

References

Details

Attachments

(2 files)

if your mozconfig specifies:
ac_add_options --with-android-sdk="<path to your sdk>/platforms/android-11"

the build will break when building the SUTAgent with:
symbol  : method setForeground(boolean)
location: class com.mozilla.SUTAgentAndroid.service.ASMozStub
        setForeground(true);
        ^
/home/vmuser/Android/MC-18-06-2011/build/mobile/sutagent/android/ASMozStub.java:213: cannot find symbol
symbol  : method setForeground(boolean)
location: class com.mozilla.SUTAgentAndroid.service.ASMozStub
        setForeground(false);
        ^
2 errors
make[6]: *** [classes.dex] Error 1
This should resolve the undefined symbol issue.
Attachment #540621 - Flags: review?(blassey.bugs)
Comment on attachment 540621 [details] [diff] [review]
Patch to fix calls to setForeground in android

We use Log.e() to log errors in regular fennec code. Does Exception.printStackTrace() go the the android log? Or does it just get lost in stderr?
Attachment #540621 - Flags: review?(blassey.bugs) → review+
Yes, I believe that it does go to the android log.
Assignee: nobody → blassey.bugs
Blocks: 676275
http://hg.mozilla.org/mozilla-central/rev/a0f38e290e33
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
This patch will take care of the setForeground api call in the watcher module for SUTAgent.
Attachment #552118 - Flags: review?(blassey.bugs)
Attachment #552118 - Flags: review?(blassey.bugs) → review+
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: