app:externalNativeBuildCleanDebug 关于JNI加密项目clean后报错 刷新clean清除都不管用的解决办法
程序员文章站
2022-03-08 15:45:40
自己手贱将jni的项目clean project了,会报这个错误Circular dependency between the following tasks::app:clean+--- :app:externalNativeBuildCleanDebug| \--- :app:preDebugBuild| +--- :app:extractProguardFiles| | \--- :app:preBuild| |...
自己手贱将jni的项目clean project了,会报这个错误
Circular dependency between the following tasks:
:app:clean
+--- :app:externalNativeBuildCleanDebug
| \--- :app:preDebugBuild
| +--- :app:extractProguardFiles
| | \--- :app:preBuild
| | \--- :app:clean (*)
| \--- :app:preBuild (*)
\--- :app:externalNativeBuildCleanRelease
\--- :app:preReleaseBuild
+--- :app:extractProguardFiles (*)
\--- :app:preBuild (*)
-----
```至 于为什么会报这个错我也没怎么研究,反正就是清除重启刷新都不好使,我的解决办法是**`把项目bulid的externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.10.2"
}
}`**这段话删除并运行app这样app会闪退因为没设置c然后再放回去就好了
本文地址:https://blog.csdn.net/u010563605/article/details/111042113