【问题标题】:Error:(63, 9) error: cannot find symbol class AppSettingsDetails错误:(63, 9) 错误: 找不到符号类 AppSettingsDetails
【发布时间】:2018-02-05 21:21:06
【问题描述】:

晚上好,我在 Android Studio 中导入了最新版本的 Android 模块,但我在重新生成 APK 时遇到了问题。

阻止编译的错误位于LocaleHelper.java 文件中。返回的错误是:

在第 66 行无法解析符号“AppSettingDetails”。

AppSettingsDetails appSettingsDetails = ((App) context.getApplicationContext ()). GetAppSettingsDetails();

【问题讨论】:

    标签: javascript android android-studio


    【解决方案1】:

    您可能必须将AppSettingsDetails 类导入LocaleHelper。确保您正在导入正确的包。

    【讨论】:

    • 感谢先生您的重播.. 但我该如何设置它。我怎么知道它的正确类
    • 首先确保你的包中有AppSettingsDetails 类。例如,如果它在 com.vectorcoder.androidecommerce.settings 包中,则必须添加 import com.vectorcoder.androidecommerce.settings.AppSettingsDetails;
    猜你喜欢
    • 2020-01-10
    • 2019-10-18
    • 1970-01-01
    • 1970-01-01
    • 2020-05-03
    • 2019-01-13
    • 2018-05-30
    • 2015-01-26
    • 1970-01-01
    相关资源
    最近更新 更多