Closed
Bug 875771
Opened 12 years ago
Closed 7 years ago
Fennec built for arm-linux-androideabi does not work in emulator
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: shashank, Unassigned)
Details
Attachments
(1 file)
|
143.11 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130512193902
Steps to reproduce:
Built Fennec according to instructions at https://wiki.mozilla.org/Mobile/Fennec/Android#Linux and deployed onto emulator in a 32-bit Linux system
Actual results:
Fennec got installed but as soon as it opens gets closed with 'strictModePolicyViolation'
Expected results:
Fennec should have persisted
Comment 1•12 years ago
|
||
Can you attach a logcat? Did you remember to enable GL acceleration as that is a requirement?
| Reporter | ||
Comment 2•12 years ago
|
||
Yes I did enable 'Use Host GPU' in 'Manage AVD'
Comment 4•12 years ago
|
||
I'm not able to reproduce this. A recent build of mine on Linux works fine in the emulator. My mozconfig looks like this:
. "$topsrcdir/mobile/android/config/mozconfigs/common"
# Global options
mk_add_options MOZ_MAKE_FLAGS="-j9"
# Build Fennec
ac_add_options --enable-application=mobile/android
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-android
mk_add_options NO_AUTOCLOBBER=1
# Android
ac_add_options --target=arm-linux-androideabi
ac_add_options --with-android-ndk="$HOME/android/ndk"
ac_add_options --with-android-sdk="$HOME/android/sdk/platforms/android-17"
ac_add_options --with-android-version=9
# Build options
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --disable-elf-hack
# Use ccache
ac_add_options --with-ccache
and my AVD image is configured as follows:
Target: Android 4.1.2 (API level 16)
ABI: armeabi-v7a
Skin: WVGA800
Sdcard: 1024M
hw.lcd.density: 240
hw.cpu.model: cortex-a8
vm.heapSize: 48
hw.ramSize: 256
hw.gpu.enabled: yes
Flags: needinfo?(bugmail.mozilla)
| Reporter | ||
Comment 5•12 years ago
|
||
My mozconfig looked like this :
# Add the correct paths here:
ac_add_options --with-android-ndk="$HOME/Sources/android-ndk-r8e"
ac_add_options --with-android-sdk="$HOME/Sources/android-sdk-linux/platforms/android-16"
ac_add_options --with-android-version=9
# android options
ac_add_options --enable-application=mobile/android
ac_add_options --target=arm-linux-androideabi
ac_add_options --with-ccache
mk_add_options MOZ_OBJDIR=./objdir-droid
and my AVD image is configured as follows:
Name: arm
Path: /home/shashank/.android/avd/arm.avd
Target: Android 4.1.2 (API level 16)
ABI: armeabi-v7a
Skin: 720x1280
hw.lcd.density: 320
hw.sdCard: no
hw.device.name: Galaxy Nexus
vm.heapSize: 64
hw.ramSize: 1024
hw.gpu.enabled: yes
Still not working !!
Comment 6•12 years ago
|
||
Try creating an SD card in your emulator image. I wonder if that might be the problem.
| Reporter | ||
Comment 8•7 years ago
|
||
The problem didn't appear when I tried build a few months ago.
I didn't remember I had this reported. Please close.
Thanks
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(shashank)
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•