我收到錯誤:「在我的代碼中無法解析方法'super()'」,我不知道如何解決此問題,是否有任何線索?無法解析android studio中的方法'super()'錯誤
的代碼如下:
public GeoView(double left, double top, double width)
{
super();
this.left = left;
this.top = top;
this.width = width;
this.transform = null;
this.backing_store = null;
this.sink = false;
this.last_size = new Rect(0, 0, 200, 200);
this.do_tracking = false;
Drawable background = new Drawable() {
@Override
public void draw(Canvas canvas) {
}
@Override
public void setAlpha(int i) {
}
@Override
public void setColorFilter(ColorFilter colorFilter) {
}
@Override
public int getOpacity() {
return 0;
}
};
請顯示封閉類。 – kalabalik
請分享封閉班級的詳細信息,以瞭解班級出席 – Kushan
顯示繼承請求,否則我們不能幫助您。 –