Working in IDE with native subproject of AOSP

  android, android-source, c++, clion

I am trying to generate CLion project for frameworks/rs

aidegen frameworks/rs -l c

Project has been generated and opened in CLion, but there are many errors.
Some of them : (‘map’ file not found, Use of undeclared identifier ‘std’)

And I can’t build this project from CLion:

clang++: error: argument unused during compilation:
‘-Wa,–noexecstack’ [-Werror,-Wunused-command-line-argument] clang++:
error: argument unused during compilation: ‘-nostdlibinc’
[-Werror,-Wunused-command-line-argument] ninja: build stopped:
subcommand failed.

So it seems this CLion project is useless, but I can’t imagine how to develop such big project as AOSP without IDE…

Can you help me?

Source: Windows Questions C++

LEAVE A COMMENT