मैं अपने आवेदन में नक्शे का उपयोग करने के कोशिश कर रहा हूँ में शैली 'mapViewStyle' ढूंढने में विफल रहा और मैं इस त्रुटि मिलती है, वर्तमान विषय में शैली 'mapViewStyle' को ढूंढने में विफलएंड्रॉयड नक्शे: वर्तमान विषय
मैं पैदा किया कुंजी ठीक से, और अन्य स्थानों पर एक ही समस्या के लिए पेश किए गए सभी समाधानों का प्रयास किया है।
1.my target api and the one mentioned in the manifest file are the same.
2.There is no import.R in my project
3.I have cleaned my project.
4.Uses-library element is a child of the application.
यह मेरा xml फ़ाइल
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<com.google.android.maps.MapView
android:id="@+id/mapview1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
android:apiKey="*****************"
android:enabled="true"
/>
</LinearLayout>
है और यह मेरा इसी जावा फ़ाइल
पैकेज com.epidemicator.prototype है;
import android.os.Bundle;
import com.google.android.maps.MapActivity;
public class Mapacti extends MapActivity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.mapview);
}
@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}
कृपया मुझे यहां मदद करें ... धन्यवाद।
http://stackoverflow.com/questions/6975203/android-google-maps-failed-to-find-style-mapviewstyle-in-current-theme का डुप्लिकेट? – dmon
मैं डॉन से सहमत हूं कि वह प्रश्न पूछता है और दस्तावेज़ों को देखता है http://code.google.com/android/add-ons/google-apis/maps-overview.html#useslibrary – dbryson