This is a migrated thread and some comments may be shown as answers.

Import plugin not working

1 Answer 74 Views
Google Android
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paulo
Top achievements
Rank 1
Paulo asked on 31 Oct 2016, 11:46 AM

I can't use plugins that i imported on my project (Cordova 4.0)

When i try to use the plugin that Iimported, it's always NULL (tryed on ASUS ZENFONE 4.4)

https://github.com/MobileChromeApps/cordova-plugin-zip

https://github.com/jjdltc/jjdltc-cordova-plugin-zip

https://github.com/fastrde/cordova-plugin-fastrde-downloader

How can I unzip file on cordova 4.0 on app builder?

 

 

 

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 02 Nov 2016, 04:40 PM
Hello Paulo,

You can add custom plugins to your project by following the approach outlined here.

I checked the plugins and it seems that one of them has native (C) code in it. There is a known issue with AppBuilder deploying apps with such plugins on devices with x86/x86_64 CPU architecture. As Asus Zenfone has Intel CPU, it has one of the above-mentioned architectures. The fix for this issue is scheduled for the AppBuilder 3.7 release, which should be out next February.

In the meantime, I am attaching a custom plugin, which you can use until the fix is released. If you include it in your project, it will force the building CPU architecture to be x86. Another possible workaround is to use a device with armv7 CPU ABI (regular Android devices that don't use Intel CPUs).

Regards,
Preslav
Telerik by Progress
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Google Android
Asked by
Paulo
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or