【问题标题】:Failed to find target with hash tag string 'android-19' even when android 19 has not used即使没有使用 android 19,也无法找到带有哈希标签字符串“android-19”的目标
【发布时间】:2016-07-01 06:50:56
【问题描述】:

我有一个从 Eclipse 导入的 android 项目。 Gradle 是,

compiledSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig{

minSdkVersion 14

targetedSdkVersion 21} 

我已经安装了sdk version 23,但是Gradle构建的时候,却报错,

failed to find target with hash tag string 'android-19'

我需要在不使用版本 19 的情况下构建这个项目。请有人帮我解决这个问题。

谢谢

【问题讨论】:

    标签: android eclipse android-studio android-sdk-tools


    【解决方案1】:

    你应该有一个带有target=android-19project.properties文件,用android工具或手动修改它

    【讨论】:

      【解决方案2】:

      上次我遇到这个问题,我通过卸载 API 23 并重新安装解决了它。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2023-04-03
        • 2018-11-23
        • 1970-01-01
        • 2016-06-26
        • 2017-03-20
        • 2023-03-19
        • 1970-01-01
        相关资源
        最近更新 更多