In step 7, the getScreenCenter method is defined from android.graphics.Point.
In step 13, the addObject method contains the line Point pt = getScreenCenter(); This gives me an ‘incompatible types’ error (“required com.google.ar.core.Point, found android.graphics.Point”) and results in an error in the Java compile stage. I believe this line should read android.graphics.Point pt = getScreenCenter();.
In step 7, the
getScreenCenter
method is defined fromandroid.graphics.Point
.In step 13, the
addObject
method contains the linePoint pt = getScreenCenter();
This gives me an ‘incompatible types’ error (“required com.google.ar.core.Point, found android.graphics.Point”) and results in an error in the Java compile stage. I believe this line should readandroid.graphics.Point pt = getScreenCenter();
.