Android Studio编程 加了进度条组件之后,运行之后,报错,无法实例化应用
但运行之后,可以正常显示进度条
<ProgressBar
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/progress1"
/>
final ProgressBar progressBar =
(ProgressBar)findViewById(R.id.progress1);
报错信息
java.lang.RuntimeException: Unable to instantiate application android.app.Application: java.lang.IllegalStateException: Unable to get package info for com.example.zp.myapplication_1; is package not installed?```