記錄開發中常出現的錯誤
1、遇到這樣的錯誤時,應該立馬想到是書寫錯誤或文法錯誤,常見為android:name寫成了name
Attribute is missing the Android namespace prefix
2、解決:菜單:project->clean。
Activity not started, its current task has been brought to the front
android.util.AndroidRuntimeException: You cannot combine custom titles with other title
The method makeText(Context, CharSequence, int) in the type Toast is not applicable for the arguments (new View.OnClickListener(){}, String, int)
![](https://img.laitimes.com/img/__Qf2AjLwojIjJCLyojI0JCLi0zaHRGcWdUYuVzVa9GczoVdG1mWfVGc5RHLwkzX39GZhh2csATMflHLwEzX4xSZz91ZsADMx8FdsYkRGZkRG9lcvx2bjxSa2EWNhJTW1AlUxEFeVRUUfRHelRHL2EzXlpXazxyayFWbyVGdhd3LcV2Zh1Wa9M3clN2byBXLzN3btg3PnVGcq5SNyQWO5MWM3EzY3gjM3EDZ4Y2YwUzN0QzN0IGNhZWNm9CX4AzLchDMxIDMy8CXn9Gbi9CXzV2Zh1WavwVbvNmLvR3YxUjL2M3Lc9CX6MHc0RHaiojIsJye.jpeg)