2014-11-15 26 views
7

[hatayi veriyor: (]! ...Hata: kaynak ki ('tarzı/AppTheme @' değeri ile 'teması' de) adı verilen maçları bulundu

i her şeyi uğraş

[2014-11-15 17:56:06 - LoginActivity] C:\Users\Different\workspace\LoginActivity\AndroidManifest.xml:15: error: Error: No resource found that matches the given name (at 'theme' with value '@style/AppTheme'). [2014-11-15 17:56:06 - LoginActivity] [2014-11-15 17:56:07 - LoginActivity] C:\Users\Different\workspace\LoginActivity\AndroidManifest.xml:15: error: Error: No resource found that matches the given name (at 'theme' with value '@style/AppTheme'). [2014-11-15 17:56:07 - LoginActivity] [2014-11-15 17:56:10 - LoginActivity] C:\Users\Different\workspace\LoginActivity\AndroidManifest.xml:15: error: Error: No resource found that matches the given name (at 'theme' with value '@style/AppTheme'). [2014-11-15 17:56:10 - LoginActivity] [2014-11-15 17:56:12 - LoginActivity] C:\Users\Different\workspace\LoginActivity\AndroidManifest.xml:15: error: Error: No resource found that matches the given name (at 'theme' with value '@style/AppTheme'). [2014-11-15 17:56:12 - LoginActivity] im using eclipse "windows 7"

hata AndroidManifest.xml bu hat android:theme="@style/AppTheme" >

içinde, bütün kod `

<uses-feature 
    android:name="android.hardware.microphone" 
    android:required="false"/> 

<uses-permission android:name="android.permission.INTERNET"/> 
<uses-permission android:name="android.permission.RECORD_AUDIO"/> 
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> 
<uses-permission android:name="android.permission.READ_PHONE_STATE"/> 
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 

<application 
    android:allowBackup="true" 
    android:icon="@drawable/icon" 
    android:theme="@style/AppTheme" > 
    <activity 
     android:name=".LoginActivity" 
     android:label="Log In"> 
     <intent-filter> 
      <action android:name="android.intent.action.MAIN" /> 
      <category android:name="android.intent.category.LAUNCHER" /> 
     </intent-filter> 
    </activity> 
    <activity 
     android:name=".CallActivity" 
     android:label="Make a Call" 
     android:screenOrientation="portrait"> 
    </activity> 
</application> 
olduğu
+0

styles.xml gönderin –

+0

Mohammed

+2

Temanızın ** AppBaseTheme **, 'android adlandırılır beri: tema = "@ tarzı/AppTheme"' 'olmalıdır android: theme = "@ tarzı/AppBaseTheme">' –

cevap

17

İşte öyle.

Ya değişimi:

style name="AppBaseTheme" 

sizin styles.xml dosyada

style name="AppTheme" 

için. Veya değiştirin:

android:theme="@style/AppTheme" 

android:theme="@style/AppBaseTheme" 

Manifest'inizde uygulama etiketinde.

Her ikisi de aynı olmalıdır. Temel olarak, uygulamanız mevcut olmayan AppBaseTheme'yi kullanmaya çalışıyor.

+0

merhaba Hirak Chhatbar, hiçbir hata ile çalıştı, ancak programı çalıştırdığımda bana hata mesajı "maalesef, com.sinch.apptoappcall durdu" – Mohammed

+0

plz hata logcat gönderin. Kodunda yanlış bir şeyler olmalı. –

+0

Tüm dosyayı yükleyemiyorum çünkü çok uzun, son http://textuploader.com/on5j – Mohammed

İlgili konular