为什么会出现此运行时:无法实例化 activity ComponentInfo?

why this runtime is occured :Unable to instantiate activity ComponentInfo?

当我尝试定义微调器时,抛出了这个 运行 时间异常。为什么?

您必须在 onCreate 方法中初始化微调器,所以移动

CARS_TYPE = (Spinner)findViewById(...);

在 setContentView 之后的 onCreate() 内部

还有一点,CARS_TYPE 不应该是一个常量,最好将其称为 carsType