Xavier Ducrohet
f43f5c7aaa
Add --output-text-symbols option to aapt. do not merge.
...
Library projects in the SDK are built using --non-constant-id
to generate a temporary R.java class.
When the library is packaged with the application to generate an
apk, the R class is recreated with the proper IDs due to all the
resources coming from the app and all the libraries.
However for large apps with many libraries (each with their own
R class in their package), this means a lot of unnecessary IDs:
all R classes contains all the IDs including for resources from
by projects they don't have access through the dependency graph.
For really large apps (X,000 resources), with lots of libraries
(10+), this can generate tens of thousands of resources, which
can trigger dalvik's limit of 65K fields and methods per dex
files.
This changes lets aapt generate not only the R class but a simple
text file containing the list of all those IDs so that it is
easier to parse back. The SDK build system will not ask aapt
to generate the R class of the libraries (through the
--extra-packages option), instead it will then read this
file to know what IDs are needed for each library and generate
a much smaller R class for each library (using the same text
file output from compiling all the resources to get the final
integer value).
Chery-picked from f5de650ff1e161ea135c828e43515895343d2c0f
Change-Id: I0e08ceb6e4ceb3feb169ce17df21dd35a2505e7f
2012-09-18 17:02:34 -07:00
Scott Main
edf0ba6e1b
am 44204020: cherrypick from jb-dev Change-Id: Ib0ec41960017725db3fbedb2b62350dc8f8d3468 new Google Play badges and some updates to corresponding pages
...
* commit '442040208cba3be464d7a180283d72d9ec074def':
cherrypick from jb-dev Change-Id: Ib0ec41960017725db3fbedb2b62350dc8f8d3468 new Google Play badges and some updates to corresponding pages
2012-09-17 21:30:16 -07:00
Scott Main
442040208c
cherrypick from jb-dev Change-Id: Ib0ec41960017725db3fbedb2b62350dc8f8d3468
...
new Google Play badges and some updates to corresponding pages
Change-Id: I8502a47b9d79d9a03a51c7baaacaa454fd63e5a5
2012-09-17 21:28:14 -07:00
Scott Main
d67459ff19
new Google Play badges and some updates to corresponding pages
...
Change-Id: Ib0ec41960017725db3fbedb2b62350dc8f8d3468
2012-09-17 14:15:34 -07:00
Scott Main
b574a264e6
am b86b7f07: small update to the ADT installation steps based on new ADT UI
...
* commit 'b86b7f07d79cae32cda710aa9cc328e7af2c8ccc':
small update to the ADT installation steps based on new ADT UI
2012-09-17 11:23:20 -07:00
Katie McCormick
ad4bbdf22c
am 844d2a94: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
...
* commit '844d2a942ebde7eb1d5abd68505c7a2eb7e2db0a':
Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-17 11:21:51 -07:00
Scott Main
ada4f081c6
am 61d85c43: add link to device dock lesson
...
* commit '61d85c43474da17296b90b3d7fd0f4bd34cdebe8':
add link to device dock lesson
2012-09-17 11:21:48 -07:00
Dirk Dougherty
2dec992884
am 24a024ec: Doc change: fix typo in JB highlights.
...
* commit '24a024ecaf949601b998a4b0ed3b4d7af6bcd8ba':
Doc change: fix typo in JB highlights.
2012-09-17 11:20:19 -07:00
Scott Main
a1981bc1ab
am d5abc558: docs: update for multi apk doc for ABI support
...
* commit 'd5abc5586e08bedf06f337aefa5a59c014fb7a2e':
docs: update for multi apk doc for ABI support
2012-09-17 11:20:16 -07:00
Katie McCormick
917d45e3d1
am 73ec048e: Doc update: Appwidgets JB additions.
...
* commit '73ec048e4de50419d2d49907be0acae0893f92ca':
Doc update: Appwidgets JB additions.
2012-09-17 11:20:12 -07:00
Scott Main
8a80ac4690
am 54efa69f: older not lower
...
* commit '54efa69f5074568f23eb5ff7f15022eece11918c':
older not lower
2012-09-17 11:20:09 -07:00
Joe Fernandez
b9b05dfcc1
am 8982939d: docs: Accessibility DevGuide, Jelly Bean edition
...
* commit '8982939d17881c7dcd20459955f3bfcec6e05905':
docs: Accessibility DevGuide, Jelly Bean edition
2012-09-17 11:20:06 -07:00
Scott Main
0cc7398ab9
am d46023d2: (-s ours) dashboard update for 9/4 switch to simplified pie charts: codenames for platforms and separate size and density charts
...
* commit 'd46023d2081c995b2ec61b48b79f2077dfdb36a2':
dashboard update for 9/4 switch to simplified pie charts: codenames for platforms and separate size and density charts
2012-09-17 11:20:05 -07:00
Katie McCormick
2141c06849
am 243170f7: Doc update: Fix typo.
...
* commit '243170f759252c99052a903bd0cb33e4d8227aa0':
Doc update: Fix typo.
2012-09-17 11:09:16 -07:00
Scott Main
b86b7f07d7
small update to the ADT installation steps based on new ADT UI
2012-09-17 10:58:28 -07:00
Katie McCormick
844d2a942e
Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-17 10:57:22 -07:00
Scott Main
61d85c4347
add link to device dock lesson
2012-09-17 10:56:49 -07:00
Dirk Dougherty
24a024ecaf
Doc change: fix typo in JB highlights.
2012-09-17 10:55:27 -07:00
Scott Main
d5abc5586e
docs: update for multi apk doc for ABI support
2012-09-17 10:54:55 -07:00
Katie McCormick
73ec048e4d
Doc update: Appwidgets JB additions.
2012-09-17 10:54:17 -07:00
Scott Main
54efa69f50
older not lower
2012-09-17 10:53:32 -07:00
Joe Fernandez
8982939d17
docs: Accessibility DevGuide, Jelly Bean edition
2012-09-17 10:50:42 -07:00
Scott Main
d46023d208
dashboard update for 9/4
...
switch to simplified pie charts: codenames for platforms and separate size and density charts
2012-09-17 10:50:03 -07:00
Katie McCormick
243170f759
Doc update: Fix typo.
2012-09-17 10:48:39 -07:00
Scott Main
9ae018462a
fix broken link for action bar pack
...
Change-Id: I58e774ef2b96bacd3678bd2354a584d58dd018ee
2012-09-14 15:21:06 -07:00
John Wang
f5cbd7628d
Merge "Show plmn in emergency call allowed mode." into jb-dev
2012-09-13 09:36:48 -07:00
Katie McCormick
2f140f9692
Merge "Doc change: GCM changes" into jb-dev
2012-09-13 09:36:48 -07:00
John Wang
b11ce4284e
Show plmn in emergency call allowed mode.
...
When emergency call is allowed, plmn string is used to pass up the
"Emergency calls only" string. This change set showPlmn to true
in that situation regardless the SIMRecords.SPN_RULE_SHOW_PLMN value.
bug:7103854
Change-Id: I35ce0cc265d648191cb3b5f87261895f862143db
2012-09-12 16:46:41 -07:00
Katie McCormick
4e11e3e962
Doc change: GCM changes
...
Bug: 7072792
Change-Id: I718e407647571d093996139b857f703c104d4e4d
2012-09-12 14:05:34 -07:00
Scott Main
8dc0ff07c9
Merge "fix another link in the style doc" into jb-dev
2012-09-12 10:41:20 -07:00
Scott Main
816518fa59
fix another link in the style doc
...
Change-Id: Icd40456ab32232eacc6fa3acdd86ff78aa03e3aa
2012-09-12 10:40:29 -07:00
Scott Main
94b2b5efa0
Merge "fix links to style and themes source files" into jb-dev
2012-09-12 10:08:36 -07:00
Scott Main
600a75c31f
fix links to style and themes source files
...
Change-Id: I49759c689c3d345be014c7a252e266d7529af230
2012-09-12 10:05:38 -07:00
Daniel Sandler
e445c25877
Merge "Fix notification gestures." into jb-dev
2012-09-11 21:19:23 -07:00
Daniel Sandler
a5e042f923
Merge "Single finger notification expansion." into jb-dev
2012-09-11 21:17:41 -07:00
Daniel Sandler
c0229e29de
Fix notification gestures.
...
Broken by recent changes to ScaleGestureDetector, which we
were using incorrectly.
Change-Id: Ie5a7981cc14873d34de9041f59b5de442c948a61
2012-09-11 21:46:39 -04:00
Scott Main
01f9bf3fef
small update to the ADT installation steps based on new ADT UI
...
Change-Id: I1c3ddfcb6188dd0bdc87a2b2e8241dfd7fcaa4dc
2012-09-11 15:24:16 -07:00
Daniel Sandler
7ffa04b1dd
Single finger notification expansion.
...
If you liked these changes...
Change Ie4e79aa5
Change I8a6f8606
Change I824937e9
Change I957b6d50
You'll love this one!
Change-Id: I5256366175fa7ebc965b1c5df02f10ba802ed977
2012-09-11 15:19:44 -04:00
Scott Main
c0e0d2bf3d
Merge "docs: update for multi apk doc for ABI support" into jb-dev
2012-09-11 10:48:16 -07:00
Scott Main
e9e40b438e
Merge "add link to device dock lesson" into jb-dev
2012-09-10 16:26:47 -07:00
Katie McCormick
0e9f34bffd
Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
...
Change-Id: I62def95b138282eba4f2e70fd4ab4de35aa03e89
2012-09-10 16:20:20 -07:00
Scott Main
c73d67f3f1
add link to device dock lesson
...
Change-Id: I7af36f89204d49f2a0a23c33376f2f343f3b1593
2012-09-10 16:20:08 -07:00
Adam Koch
6525f7bfcf
Merge "Updates to "Displaying Bitmaps Efficiently" class. Changes: -Updated code sample (see http://ag/214812 ) -Updated code snippets to match updated sample -Fixed <> in code snippets -Updated disk cache section -Some other minor updates" into jb-dev
2012-09-07 13:15:02 -07:00
Katie McCormick
ae050d5624
Merge "Doc update: Appwidgets JB additions." into jb-dev
2012-09-07 11:06:00 -07:00
Dirk Dougherty
882b267d18
Merge "Doc change: fix typo in JB highlights." into jb-dev
2012-09-07 10:49:42 -07:00
Dirk Dougherty
6ca8f880bd
Doc change: fix typo in JB highlights.
...
Change-Id: I807a8ecee5d352c8494154629b92474ba4b0e892
2012-09-07 10:48:05 -07:00
Scott Main
bd4a708735
docs: update for multi apk doc for ABI support
...
Change-Id: I6ef9b7f4bb213dddddcf03b304ffedfd2f9e209b
2012-09-06 21:53:24 -07:00
Katie McCormick
96ab46039d
Doc update: Appwidgets JB additions.
...
Change-Id: Id18a1c82a50fc654e383d9acb53ca61073172287
2012-09-05 13:07:09 -07:00
Scott Main
8f58d38103
older not lower
...
Change-Id: Idd925213af834d138991fc6237cfe0329f73ad67
2012-09-05 11:54:05 -07:00
Scott Main
253483dd97
Merge "docs: Accessibility DevGuide, Jelly Bean edition" into jb-dev
2012-09-05 11:50:18 -07:00