运行错误' app':未知运行配置类型AndroidRunConfigurationType

时间:2018-05-24 07:56:52

标签: android

当我运行android studio时,我收到此错误:

Function RabigatorCount()
    Dim zelle As Range
    Dim i As Integer
    Dim Rabigator() As Integer
    Dim posMonitoring As Integer
    Dim j As Integer
    Dim intLastRow As Integer
    Dim intCounter(3) As Integer
    Dim k As Integer
    Dim counter As Integer

    Set zelle = Cells.Find("is_monitoring_relevant")
    posMonitoring = zelle.Column

    For j = 3 To 5
        For i = 2 To 59

            If Cells(i, posMonitoring).Value = "c" And Cells(i, j + 1).Value < 0 And Cells(i, j + 2).Value < 0 Then
                intCounter(1) = intCounter(1) + 1
            ElseIf Cells(i, posMonitoring).Value = "c" And Cells(i, j + 1).Value = 0 And Cells(i, j + 2).Value < 0 Then
                intCounter(2) = intCounter(2) + 1
            ElseIf Cells(i, posMonitoring).Value = "c" And Cells(i, j + 1).Value > 0 And Cells(i, j + 2).Value > 0 Then
                intCounter(3) = intCounter(3) + 1
            End If
        Next i
    Next j
    RabigatorCount = intCounter

End Function

任何人都可以帮我解决这个错误。

2 个答案:

答案 0 :(得分:1)

检查此答案:Plugin Error: required plugin "Android Support" is disabled

确认您没有禁用某些插件。

答案 1 :(得分:0)

在升级android studio后导入flutter项目时,我遇到了这个问题。

注意:更新Studio后,Android Studio将不会安装Flutter插件。

运行:扑动医生(虽然可以找到与扑动有关的问题)

安装Flutter插件:

文件->设置->插件->在搜索栏中输入“ flutter”->安装->重新启动IDE