dibakarece / DMPlayer

DMPLayer is an Android music player prototype
654 stars 189 forks source link

No resource found that matches '@drawable/abc_ic_menu_moreoverflow_mtrl_alpha' #5

Open vdm97 opened 7 years ago

vdm97 commented 7 years ago

I tried to compile the current master(18.01.2017) version but got an error stating that in ~\DMPlayer-master\app\src\main\res\layout\inflate_allsongsitem.xml in line 38 and ~\DMPlayer-master\app\src\main\res\layout\include_slidepanelchildtwo_topviewtwo.xml in line 89 the reference to a file called abc_ic_menu_moreoverflow_mtrl_alpha which is supposed to be in drawable is missing.

dibakarece commented 7 years ago

Could you please share your in app>build.gradle file.... Some time this may occurred due to build tool version and app compact version .. incompatibility ..... On Jan 18, 2017 11:03 PM, "vdm97" notifications@github.com wrote:

I tried to compile the current master(18.01.2017) version but got an error stating that in ~\DMPlayer-master\app\src\main\res\layout\inflateallsongsitem.xml in line 38 and ~\DMPlayer-master\app\src\main\res\layout\include slidepanelchildtwo_topviewtwo.xml in line 89 the reference to a file called abc_ic_menu_moreoverflow_mtrl_alpha which is supposed to be in drawable is missing.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dibakarece/DMPlayer/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ-A0ygXFknHFXS_L02HQs8nuT6UpSz-ks5rTkzmgaJpZM4LnK7h .

dibakarece commented 7 years ago

Thanks to interest in DMPlayer :) On Jan 19, 2017 12:51 PM, "Dibakar Mistry" dibakar.ece@gmail.com wrote:

Could you please share your in app>build.gradle file.... Some time this may occurred due to build tool version and app compact version .. incompatibility ..... On Jan 18, 2017 11:03 PM, "vdm97" notifications@github.com wrote:

I tried to compile the current master(18.01.2017) version but got an error stating that in ~\DMPlayer-master\app\src\main \res\layout\inflate_allsongsitem.xml in line 38 and ~\DMPlayer-master\app\src\main\res\layout\include_slidepanelchildtwo_topviewtwo.xml in line 89 the reference to a file called abc_ic_menu_moreoverflow_mtrl_alpha which is supposed to be in drawable is missing.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dibakarece/DMPlayer/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ-A0ygXFknHFXS_L02HQs8nuT6UpSz-ks5rTkzmgaJpZM4LnK7h .

vdm97 commented 7 years ago

No problem, it looks like a great app :)

This is my build.gradle file:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "25"

    defaultConfig {
        applicationId "com.dmplayer"
        minSdkVersion 11
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile files('libs/nineoldandroids-2.4.0.jar')
    compile files('libs/universal-image-loader-1.9.3.jar')
    compile files('libs/gson-2.2.3.jar')
    compile 'com.android.support:appcompat-v7:25.0.0'
    compile 'com.android.support:design:25.0.0'
    compile 'com.android.support:cardview-v7:25.0.0'
    compile 'com.android.support:recyclerview-v7:25.0.0'
}
vdm97 commented 7 years ago

So i solved the problem.. some files in the SDK were missing. But i can't compile with the 25 SDK because the Android API changed and so some new functionsof some interfaces are not implemented.

I will try the code with the 22 SDK.. Thank you for the code :)

dibakarece commented 7 years ago

Thanks again... :) On Jan 19, 2017 3:35 PM, "vdm97" notifications@github.com wrote:

So i solved the problem.. some files in the SDK were missing. But i can't compile with the 25 SDK because the Android API changed and so some new functionsof some interfaces are not implemented.

I will try the code with the 22 SDK.. Thank you for the code :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dibakarece/DMPlayer/issues/5#issuecomment-273731496, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ-A0_ezo6lLKvX76cfqvnBBNWn-CfxNks5rTzVxgaJpZM4LnK7h .