flutter 项目编译 Android app报错

Android 编译报错 

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:stripDebugDebugSymbols'.
> NDK at D:\Android\As3.5\ndk-bundle did not have a source.properties file

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

解决方法 :在app  build.gradle中指定ndk版本

ndkVersion "21.4.7075529"

猜你喜欢

转载自blog.csdn.net/xiaowang_lj/article/details/128573647