Comments (4)
The 'copies' array has this:
[ '/home/christian/dev/projects/revistatuapp/resources/android/custom/drawable-xxxhdpi',
'/home/christian/dev/projects/revistatuapp/platforms/android/res/drawable-xxxhdpi/drawable-xxxhdpi' ] ]
it seems that the destPath is not being well calculated.
from ionic-package-hooks.
I got the same problem here, could someone give a working scenario to use android_custom_resources ?
from ionic-package-hooks.
Did someone ever succeed to use the android_custom_resource hooks with Ionic Package ? And could he add a quick exemple ! Thanks very much !
from ionic-package-hooks.
I don't know if anyone still needs to get this working for them.
I solved it by changing
var resourceDirs = [
'res/drawable-ldpi',
'res/drawable-mdpi',
'res/drawable-hdpi',
'res/drawable-xhdpi',
'res/drawable-xxhdpi',
'res/drawable-xxxhdpi'
];
to
var resourceDirs = [
'res/drawable-land-ldpi',
'res/drawable-land-mdpi',
'res/drawable-land-hdpi',
'res/drawable-land-xhdpi',
'res/drawable-land-xxhdpi',
'res/drawable-land-xxxhdpi'
];
basically check the res
path to your drawables and match it to what is in the script.
from ionic-package-hooks.
Related Issues (15)
- I have this error in the build process HOT 1
- Implementation question HOT 2
- Ability to provide custom hooks? HOT 8
- Script file does't exist and will be skipped HOT 3
- Clarification needed HOT 1
- how to get different resolutions and different file names in the drawable- folders for custom resources HOT 12
- before_install hook needed to avoid Error Domain=IDEDistributionErrorDomain Code=1 HOT 1
- android_ignore_translation_errors.js may not need to loop through platforms
- copy_google_services.js ionic package build HOT 8
- Proposal for new script to be added to this repo: update_platform_config.js HOT 1
- Change apple llvm 8.0 - language for mixpanel plugin
- Added a PR to solve deeplinks plugin error on cloud builds
- hooks specifically for ios are still being run on android HOT 1
- JS hooks included in config.xml file need to be implemented as node modules. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ionic-package-hooks.