Android Studio 4.2.2
Adding Build Feature Prefab for Prefab AAR Shared Library Android.mk/CMake Build:
https://developer.android.com/studio/build/native-dependencies?buildsystem=cmake&agpversion=4.1
Following Documentation perfectly for Android Studio 4.1+ and using Build Features
android {
buildToolsVersion '30.0.3'
ndkVersion '22.1.7171670'
buildFeatures {
prefab true
}
}
Problem:
Error while executing java process with main class com.google.prefab.cli.AppKt with arguments {--build-system ndk-build --platform android --abi armeabi-v7a --os-version 21 --stl c++_static --ndk-version 22 --output /Users/~var/Documents/project/.cxx/ndkBuild/debug/prefab/armeabi-v7a/prefab}
Usage: prefab [OPTIONS] [PACKAGE_PATH]...
Error: Missing argument "PACKAGE_PATH".
Error: Missing argument "PACKAGE_PATH".