Re: [android-building] Proper way to include STL in Android.mk in AOSP build system

2016-06-03 Thread Michael Robbeloth
Dan, Thank you for the suggestion. My company is using Jellybean 4.3 for one branch, but we''re working on moving to Lollipop 5.0. It looks like external.libcxx wasn't added until Lollipop. I doubt you can backport the project and just have it work. It's a shame really that there isn't an easy

Re: [android-building] Proper way to include STL in Android.mk in AOSP build system

2016-06-03 Thread 'Dan Willemsen' via Android Building
Which branch are you using? Newer branches (Marshmallow+) use LOCAL_CXX_STL to chose a STL for non-NDK modules (LOCAL_NDK_STL_VARIANT for NDK modules). In Lollipop, you could include external/libcxx/libcxx.mk for libc++ - Dan On Fri, Jun 3, 2016 at 8:27 AM Michael Robbeloth

[android-building] error build camera2

2016-06-03 Thread Agus Mahardika
hi help me i get error like this : bliss6/packages/apps/Camera2/src/com/android/camera/ CameraActivity.java:2254: PRIVATE_FLAG_PREVENT_POWER_KEY cannot be resolved or is not a field ERROR: bliss6/packages/apps/Camera2/src/com/android/camera/CameraActivity.java:2257:

[android-building] Proper way to include STL in Android.mk in AOSP build system

2016-06-03 Thread Michael Robbeloth
Anyone, I was wondering what is the proper way to include the STL in the Android.mk file when building under the AOSP build system and not in the NDK. I know about libstlport in external, but it does not include all the classes needed in some cases (such as vector or chrono). Thanks. Michael

[android-building] andriod-4.2.2_r2 build error

2016-06-03 Thread 'Ye Roger' via Android Building
I know that there may not have people interested in the old build. However, I do need to build an emulator x86 version for 4.2.2. After I setup up everything and launched the build, I got the following errors: .. out/target/common/obj/PACKAGING/public_api.txt:26471: error 4: Added public