pytorch / android-demo-app

PyTorch android examples of usage in applications
1.46k stars 604 forks source link

dlopen failed: library "libc++_shared.so" not found #220

Open TongUpUp opened 2 years ago

TongUpUp commented 2 years ago

first time can successfully run the demo, when it takes to second time. the error called "dlopen failed: library "libc++_shared.so" not found" occured

and i found the way to solve it

before run the demo, run the task clean in buid.gradle(project)first

task clean(type: Delete) { delete rootProject.buildDir }

but i don't know why

can anyone explain it for me ?