import android.support.v4.app.FragmentActivity;
public class MainActivity extends FragmentActivity
전체소스중 이부분만 추가를 했습니다.
기존 Activity를 상속받는 거에서 FragmentActivity로만 바꿨을뿐인데 ㅠㅠ
에러가 나오네여 ㅠㅠ
public class MainActivity extends FragmentActivity {
double latitude,longitude,altitude;
public GoogleMap gmap;
LatLng position;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
도무지 원인을 알수 없어서 질문합니다.ㅠㅠ 고수님들 도와주세요