问题
* What went wrong:
Execution failed for task ':app:stripDebugDebugSymbols'.
> Location specified by ndk.dir (D:\java\android-ndk-r20) did not contain a valid NDK and couldn't be used
解决
对 local.properties
进行配置,修改一下自己sdk
和ndk
所放在的路径(local.properties
可能在AS中找不到,有可能是被 .gitignore
给屏蔽了,这时到源代码的根目录下能找到)
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Fri Mar 11 09:52:55 CST 2022
sdk.dir=E\:\\AndroidStudio4.2.2\\sdk
ndk.dir=E\:\\AndroidStudio4.2.2\\sdk\\ndk\\22.1.7171670
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)