Robin
Robin

Reputation: 21

Android Source build in eclipse failed - Account cannot be resolved to a type

I want to build the Android Source in eclipse as described here: http://source.android.com/source/using-eclipse.html

I did everthing as described there but I get the error shown in this image: enter image description here

In console "make" did work perferctly.

Upvotes: 2

Views: 293

Answers (2)

videoguy
videoguy

Reputation: 1918

Please check Using Eclipse to browse and edit AOSP. As mentioned above, it is not possible to build from eclipse. Plus doing so could break your AOSP build as well. Use eclipse as described in that link, but use terminal to build your changes using lunch, m, mm, mmm commands.

Upvotes: 1

Yury
Yury

Reputation: 20936

Actually, you cannot build AOSP using Eclipse. The only thing you can do is to develop parts of AOSP using Eclipse.

To use Eclipse for the development you need at first download and build AOSP from the command line, following the instructions here. only after the successful built you can start to use Eclipse for the development (the build system during the build generates some files, which may be missing without the build). After that following the instructions on the link you provided, you can install Eclipse as a development system for AOSP.

Upvotes: 2

Related Questions