Last modified: 2012-02-24 02:52:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34136, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32136 - Android app doesn't install or run on device without Google proprietary APIs
Android app doesn't install or run on device without Google proprietary APIs
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Normal enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 32445
  Show dependency treegraph
 
Reported: 2011-11-02 00:03 UTC by Brion Vibber
Modified: 2012-02-24 02:52 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2011-11-02 00:03:44 UTC
I made a Honeycomb test AVD accidentally using the straight Android 3.2 level 13, without the Google APIs.

The app won't install to the device; it's not even offered as an option in Eclipse's run dialog, and when I attempt it from the command line:

$ adb -e install Wikipedia.apk 
1963 KB/s (250806 bytes in 0.124s)
	pkg: /data/local/tmp/Wikipedia.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

Googling (heh) indicates this is mostly from ... app needing the Google APIs.


To run on the widest array of possible devices, the app should use the Google Maps APIs only in a dynamic compatible way or something... Consider an OpenStreetMaps-based map display as well.
Comment 1 Brion Vibber 2011-11-16 21:26:27 UTC
Provisional fix: https://github.com/nitobi/Wikipedia/pull/56

Marks the Google Maps API library dependency as non-required (so you can install and run the app), and retools the class loading a little bit so it fails gracefully with an alert dialog instead of crashing the app when you try using the maps feature.

Better still would be to make it not depend on Google Maps. :)
Comment 2 Brion Vibber 2011-12-17 00:00:47 UTC
Marking this fixed, opening a separate bit for the maps: bug 33208

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links