Getting error "Your hardware does not support this application"

Hello all, from last 3 days I am stuck with this error " Your hardware does not support this application."

Steps to reproduce issue:
Export unity code for android
Open exported project in android studio and let gradle finish it’s work.
After launching application to device it works.

But problems comes now:

When I add android library like

compile ‘com.felipecsl:gifimageview:2.2.0’
compile ‘com.squareup.okhttp3:okhttp:3.2.0’
compile ‘com.squareup.retrofit2:retrofit:2.0.2’
compile ‘com.squareup.retrofit2:converter-gson:2.1.0’
compile ‘com.android.support:design:26.0.2’
compile ‘com.android.support:appcompat-v7:26.0.2’
compile ‘me.dm7.barcodescanner:zxing:1.8.4’

and on launch the app there is window saying same error.

For this issue I tried following:

I create an separate project. In that project I have added a new module and in module’s gradle I have added all these android library.

After generating aar file for this module I added that aar file to unity project using module setting.

And added these lines to gradle.

  flatDir {
    dirs 'libs'
  }

and,
compile(name: ‘supportlibraryn’, ext:‘aar’)

Where supportlibraryn is my aar file added in libs folder of unity project.

Even project sync properly but the references in android activity doesn’t work at all.

Any help will be really appreciated…!!!

I believe the answer is here:

@seandolan Thank you for reply. It’s working if I only export it for android and deploy using android studio without adding extra library.But as I add those library it start throwing that error. Also while exporting I tried both option for Install location as internal and automatic still no luck.