I have an app in pakckages/app whose app/src/main/Android.mk looks like the following:
LOCAL_STATIC_ANDROID_LIBRARIES := \
...
android-support-constraint-layout \
android-support-constraint-layout-solver
Android source repo already has two jar files android-support-constraint-layout.jar
and android-support-constraint-layout-solver.jar
respectively at prebuilts/sdk/current/extras/constraint-layout/libs/
and prebuilts/sdk/current/extras/constraint-layout-solver/
..
However, I still get the following error upon compilation:
error: FirstApp (APPS android-x86) missing android-support-constraint-layout (JAVA_LIBRARIES android-x86)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
error: FirstApp (APPS android-x86) missing android-support-constraint-layout-solver (JAVA_LIBRARIES android-x86)
Any idea how to resolve this? How do we add constraint-layout in the prebuilts properly.