Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Androidで地図アプリケーションを使用しています。いくつかのジェスチャ メソッドを使用するには、次のものをインポートする必要があります。
import com.google.android.maps.GestureDetector;
しかし、これは「タイプ com.google.android.maps.GestureDetector is not visible」のようなエラーを示しています。何が問題ですか?助けてください。
間違ったクラスをインポートしていると思います。android.view.GestureDetectorをインポートする必要があります。
あなたが書いたように、「タイプcom.google.android.maps.GestureDetectorは表示されません」は、クラスがパブリックスコープで定義されていないことを意味するため、内部のものであり、「私たち」が使用することを意図していません