我在Android Studio中的Manifest中設(shè)置 android:theme屬性為 ?android:theme="@android:style/Theme.Black.NoTitleBar"不設(shè)置這個的時候程序不報錯 , 設(shè)置這個程序就報錯錯誤如下
1 回答
已采納

凡人不羨仙
TA貢獻(xiàn)3條經(jīng)驗 獲得超3個贊
你Activity繼承的父類應(yīng)該是寫錯了,改為extents Activity,應(yīng)該就好了,現(xiàn)在新建的繼承的應(yīng)該是AppcompatActivity
- 1 回答
- 0 關(guān)注
- 1259 瀏覽
添加回答
舉報
0/150
提交
取消