File: README.importing-to-eclipse.txt

package info (click to toggle)
android-platform-development 7.0.0%2Br33-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,092 kB
  • sloc: ansic: 161,291; java: 15,681; cpp: 7,721; xml: 6,419; python: 5,456; sh: 1,748; lisp: 261; ruby: 183; asm: 132; perl: 88; makefile: 22
file content (33 lines) | stat: -rw-r--r-- 1,567 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(Java)

To import the formatter, go to the preferences, section Java > Code Style >
formatter, then click on import and choose
development/ide/eclipse/android-formatting.xml

To import the import order, to go into Java > Code Style > Organize Import,
then click on import and choose development/ide/eclipse/android.importorder

(C++)

To import the include paths, go to Project > Properties > C/C++ General >
Paths and Symbols, then click on "Includes" and then click on "Import Settings".
Choose development/ide/eclipse/android-include-paths.xml and hit Finish.
You will need to re-index for the changes to get picked up (right click project
in Package Explorer, then Index > Rebuild).

To import the symbols, go to Project > Properties > C/C++ General >
Paths and Symbols, then click on "Symbols" and then click on "Import Settings".
Choose development/ide/eclipse/android-symbols.xml and hit Finish.
You will need to re-index for the changes to get picked up (right click project
in Package Explorer, then Index > Rebuild).

In addition, you will need to add some include files (no way to import this
from an XML file) by hand. Go to Project > Properties > C/C++ General >
Paths and Symbols, then click on "Include Files" and click on "Add". Check
"Add to all configurations" and "Add to all languages". Repeat for these files:

    ${ProjDirPath}/build/core/combo/include/arch/linux-arm/AndroidConfig.h

If you are having trouble seeing the "Include Files" tab, you will need to
enable it in the global preference panel under "C/C++" /
"Property Pages Settings".