Issue
It's easy to compile c++ sources to xxx.so following Android Template. But it's weird when I move the cpp folder and edit externalNativeBuild. step1: When I move cpp folder in another place, and modify externalNativeBuild.cmake.path, it works fine.(sync -> clean project -> rebuild project) step2: When I move cpp folder in another place again, and modify externalNativeBuild.cmake.path, it not worked any more.
I deleted the build folder and rebuild, but error occured also.
My gradle environment is 6.5 https://services.gradle.org/distributions/gradle-6.5-bin.zip
So Needing more config in build.gradle? How to fix it?
Solution
I deleted the build folder and rebuild, but error occured also.
Try to delete app/.cxx
folder, it might help. Also sometimes Build->Rebuild Project
helps.
Answered By - Mykola Khyliuk
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.