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…!!!