Eksik stiller. Bu düzen için doğru tema seçilmiş mi? Farklı bir mizanpaj seçmek veya mizanpaj referanslarını düzeltmek için mizanpajın üzerindeki Tema birleşik giriş kutusunu kullanın.
mapViewStyleGeçerli temada stil bulunamadı .
Bu sorunu çözmek için her çözümü denedim ama hiçbir şey işe yaramıyor. Manifest dosyasına kütüphane ekledim. Stil bile oluşturdum. Xml, Google Apis hedefini de seçtim.
Birisi bana bir çözüm verebilir mi?
İşte benim xml dosya:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/AppTheme"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<com.google.android.maps.MapView
android:id="@+id/themap"
style="@style/mapViewStyle"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="here i have my key"
android:clickable="true"
android:enabled="true" />
</RelativeLayout>
İşte manifest snippet'im:
<uses-library android:name="com.google.android.maps" />
<activity
android:name=".MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Second" />
<activity android:name=".Third" android:theme="@android:style/Theme.Black"/>
</application>
Burada benim olduğu style.xml dosyası
<resources>
<style name="mapViewStyle" parent="@android:style/Theme.Black">
</style>
</resources>
minSDKVersionve targetSdkVersionde build.gradledosyanın benim için çalıştı.






@style/AppThemesenin kayıp değil mi?