0

I am using Intel XDK for the first time and I can test the app in amulator.

I want to test working of sqlite plugin which cannot be done on the emulator. Unfortunately I can't seem to get my app installed on my device. I have installed the App preview as well. I am getting this error in the debug mode:

"Crosswalk version 18 is currently not supported in Project Preview for Applications."

I am able to test my phonegap app via eclipse on my mobile but not this one.

1 Answers1

0

Try to use productFlavor on the Grade file

 productFlavors {
        armv7 {
            versionCode defaultConfig.versionCode + 2
            ndk {
                abiFilters "armeabi-v7a", ""
            }
        }
        x86 {
            versionCode defaultConfig.versionCode + 4
            ndk {
                abiFilters "x86", ""
            }
        }
    }

https://developer.android.com/studio/build/build-variants.html

sonnv1368
  • 1,547
  • 12
  • 17
  • thnx for the comment but can you please guide me as to where is the grade file? (I am making a hybrid app with intel xdk) – mzwebstudio Jul 29 '16 at 09:24
  • Unfortunately, the XDK build system does not allow for the use of extra gradle scripts in the project. Those that are built into the CLI project are not accessible, because they are not part of your project folder, they are added to the project in the cloud build server, which means you do not have the ability to modify them. – xmnboy Jul 29 '16 at 15:50