Question

I copied mono.rs from the HelloComputeNDK sample and tried to use it in my my own project. I got the following error:

E/bcc     (26797): Unable to acquire the read lock for /data/data/com.example.android.rs.hellocomputendk/app/mono.o! (Permission denied)
E/bcc     (26797): Failed to remove file: /data/data/com.example.android.rs.hellocomputendk/app/mono.o.lock - Unknown error -1
Was it helpful?

Solution

I needed to change the #pragma rs java_package_name(... to my own app's package name.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top