Android 9 adding a prebuilt shared cc library, when try to build it fails with obj/../../.so Permission denied!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Android 9 adding a prebuilt shared cc library, when try to build it fails with obj/../../.so Permission denied!

FlamurBerisha
This is my Android.bp block for my prebuilt shared lib.
```
cc_prebuilt_library_shared {
name: "libfoo",
host_supported: true,
vendor_available: true,
target: {
android_arm: {
srcs: ["prebuilt_libs/armeabi-v7a/libfoo.so"],
},
android_arm64: {
srcs: ["prebuilt_libs/arm64-v8a/libfoo.so"],
},
},
strip: {
none:true,
},
// export_headers
}
```
When I build this block and even complete module I get this error:
out/target/product/../obj_arm/SHARED_LIBRARIES/libfoo.vendor_intermediates/PACKED/libfoo.vendor.so: Permission denied
I dont know where this error is comming please if someone has an idea and can help don't hesitate!

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/91d03705-69e0-474b-83fd-4b1b4a210514n%40googlegroups.com.