【问题标题】:Cause: invalid type code: 69 Android studio while building原因:无效的类型代码:69 Android studio while building
【发布时间】:2020-09-22 12:12:01
【问题描述】:

我在 android studio 4.0 版和 gradle 4.0.0 版中构建我的 android 项目时遇到上述错误。

【问题讨论】:

标签: android android-studio gradle


【解决方案1】:

我有同样的问题,通过在local.properties 中设置ndk.dir 路径解决

【讨论】:

    【解决方案2】:

    对我来说,在 build.gradle 文件中设置正确的 ndk 版本时错误已解决。

    示例配置:

    android {
      compileSdkVersion 29
      ndkVersion "18.1.5063045"
      defaultConfig {
      ........
    

    您可以单击构建输出中的第一行以获取有关错误的完整信息:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-09-21
      • 2019-06-10
      • 1970-01-01
      • 1970-01-01
      • 2020-10-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多