[ 
https://issues.apache.org/jira/browse/CB-14036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442118#comment-16442118
 ] 

Liam Ryan commented on CB-14036:
--------------------------------

Before each change I ran 'cordova platform remove android', waited for success, 
altered files then ran 'cordova platform add android'. I'll double check with a 
fresh checkout at lunch but I though this would be sufficient to ensure files 
were removed. 

> source-file or resource-file png in plugin.xml breaks subsequent plugins for 
> cordova-android 7
> ----------------------------------------------------------------------------------------------
>
>                 Key: CB-14036
>                 URL: https://issues.apache.org/jira/browse/CB-14036
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: 7.0.0
>         Environment: This is the blank project that I build together with 
> environment ( pasted below for reference ) - 
> [https://github.com/Liam-Ryan/ionic-cordova-android-7]
>  
> After setting up this project running ionic cordova plugin add 
> cordova-plugin-fingerprint-aio && cordova platform add android will reproduce 
> the issue. 
>  
> {{cli packages: @ionic/cli-utils : 1.19.2 }}
> {{ionic (Ionic CLI) : 3.20.0 }}
> {{global packages: cordova (Cordova CLI) : 8.0.0 }}
> {{local packages: @ionic/app-scripts : 3.1.8 }}
> {{Cordova Platforms : android 7.0.0 }}
> {{Ionic Framework : ionic-angular 3.9.2 }}
> {{System: Android SDK Tools : 26.1.1 Node : v8.10.0 }}
> {{npm : 5.6.0 }}
> {{OS : Windows 7 Cordova 8.0.0}}
>  
>            Reporter: Liam Ryan
>            Assignee: Joe Bowser
>            Priority: Major
>         Attachments: plugin.xml
>
>
> Plugin.xml for cordova-plugin-fingerprint-aio contains tags like the 
> following. I have also tried changing to resource-file. When these tags are 
> present in either form then subsequent plugins seem to revert to the old 
> cordova-android directory structure which causes their installation to fail 
> during cordova platform add android and also hides the cause of the issue 
> since there are no errors for the plugin containing these tags
> {{<source-file src="res/android/drawable-hdpi/ic_fp_40px.png" 
> target-dir="res/drawable-hdpi"/>}}
>  
> {{The same tag for copying xml files works with no issues and no effect on 
> subsequent plugins}}
>  
> {{Example of error - Failed to install 'cordova-plugin-splashscreen': Error: 
> ENOENT: no such file or directory, open 
> 'E:\Development\Angular2\Cordova7\cordova7\platforms\android\AndroidManifest.xml'}}
>  
> {{I'm building with latest ionic blank project ( see environment ) and the 
> plugin in question is cordova-plugin-fingerprint-aio. I'm aware that this 
> project is not yet cordova-android 7 compliant, I'm trying to create a pull 
> request for same }}
>  
> [https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/pull/94]
>  
> This is the blank project that I build together with environment ( pasted 
> below for reference ) - [https://github.com/Liam-Ryan/ionic-cordova-android-7]
>  
> After setting up this project running ionic cordova plugin add 
> cordova-plugin-fingerprint-aio && cordova platform add android will reproduce 
> the issue. 
>  
> {{cli packages: @ionic/cli-utils : 1.19.2}}
> {{ionic (Ionic CLI) : 3.20.0}}
> {{global packages: cordova (Cordova CLI) : 8.0.0}}
> {{local packages: @ionic/app-scripts : 3.1.8}}
> {{Cordova Platforms : android 7.0.0}}
> {{Ionic Framework : ionic-angular 3.9.2}}
> {{System: Android SDK Tools : 26.1.1 Node : v8.10.0}}
> {{npm : 5.6.0}}
> {{OS : Windows 7 Cordova 8.0.0}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to