错误:(3)检索项目的父项时出错:找不到与给定名称匹配的资源' android:Widget.Material.Spinner.Underlined'

时间:2017-06-08 17:52:51

标签: android android-studio webview

过去5个小时我一直坐在这里试图弄清楚错误是什么。我是Android开发的新手,所以我无法指出究竟是什么问题。我试图将我的应用程序构建到apk进行测试,但我一直收到错误,并且每次运行时都会出现此消息:

import UIKit
class MyFuncs: NSObject {

    static let shared: MyFuncs = MyFuncs()

    func MsgBox(msg: string)
    {
        let alert = UIAlertController(title: "Test", message:msg, preferredStyle: UIAlertControllerStyle.alert)

// add an action (button)
alert.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.default, handler: nil))

// show the alert
let appDelegate = UIApplication.shared.delegate as! AppDelegate
appDelegate.window?.rootViewController?.present(alert, animated: true, completion: nil)

    }
}

我做错了什么?

0 个答案:

没有答案