developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
30
results
Andrew Fletcher
•
Android Studio error
error: package android.support.v4.content does not existThis is a problem with plugins using old Android support dependencies instead of the AndroidX equivalent. As it's a dependency issue, to resolve add jetifier. I know yet another package...
npm install jetifier
npx jetify
npx cap sync
Tools
Ionic CLI : 6.20.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.2.0
...
Andrew Fletcher
•
Android Studio build errors
Build failed error: cannot find symbol if...
Andrew Fletcher
•
Initialise your Capacitor config
To initialise Capacitor use the CLI...
Andrew Fletcher
•
Run the NPX commands to update the app
npm run build && npx cap syncRun...
Andrew Fletcher
•
Currently, I have a situation where I have two repositories. The first is...
Andrew Fletcher
•
Working from the bases that .DS_Store has not been added to your git repository, then you can add it to your .gitignore file.
touch .gitignoreIn the .gitignore file add the following
# Hide the DS_Store files
**/.DS_StoreHowever, if it's already there, then in Terminal you will need to write:
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatchFinally commit to repo
git commit -m "Remove .DS_Store"
git push origin...
Andrew Fletcher
•
Adding git tag to your actions.
The regular process that I work to is
git add...
Andrew Fletcher
•
In Xcode attempting to build or run an app, I receiving a framework...
Andrew Fletcher
•
Working through an app project I inherited using Ionic, Angular and ngx-leaflet...
Andrew Fletcher
•
While loading an ionic project, in Xcode when performing a run routine I had the...
Andrew Fletcher
•
Need to know how run updates for Capacitor?
Updating Capacitor
Update Capacitor Core and CLI with the commands:
npm install @capacitor/cli
npm install @capacitor/coreWhereas, to update the relevant platforms in use:
npm install @capacitor/ios
npm install @capacitor/android
Capacitor version - how to get and set?
Getting the version details
Finding the version you are using for Capacitor, so something like
Capacitor:
Capacitor CLI : 2.4.2
@capacitor/android : 1.5.3
...
Andrew Fletcher
•
If you edit a Drupal contrib module, the next time the module is updated those...
Andrew Fletcher
•
Changing git push from passphrase? There are several ways to tackle this...
Andrew Fletcher
•
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
•
A list of languages for the iOS app in speech mode:
Arabic (Saudi Arabia) -...