문제

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
도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top