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
38
results
Andrew Fletcher
•
If the Android app icon is not changing from the default icon (in my situation this was the Capacitor icon), here are some steps to troubleshoot and resolve the issue:
Check the Icon Files
Ensure that you have provided the correct icon files in the appropriate directory. In a Capacitor project, the Android app icon should be placed in the res directory under various density-specific folders (e.g., mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, etc.).
Verify File Names
Check that the icon...
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
Android Studio error
Installation did not succeed.
The application could not be...
Andrew Fletcher
•
Android Studio error
error: package android.support.v4.content does not...
Andrew Fletcher
•
Android Studio build errors
Build failed error: cannot find symbol if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R)or
cannot find symbol Build.VERSION.SDK_INT >= Build.VERSION_CODES.S &&
To resolve - upgrade the compileSdkVersion and targetSdkVersion to 31 in your grade file. Note, this setting could be in one of the following files
android/app/build.gradle
android/variables.gradle
Also note - Build.VERSION_CODES.R only exists in API 30.
The...
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
•
It appears that the plugin or file path is not working how it used to be on...
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 to name a few elements... I had a problem where the map shows only all map tiles when navigating via my app in the Xcode simulator. The simulator screen would show just a small tile and the rest of the area where the map should be visible stays in gray color.
Image
Versions
plugin /...
Andrew Fletcher
•
This article references some of the common commands via CLI (command-line...
Andrew Fletcher
•
How can you find out if the Cordova plugins have been loaded?
Begin by running...
Andrew Fletcher
•
While loading an ionic project, in Xcode when performing a run routine I had the...
Andrew Fletcher
•
Updating the Cordova plugins... there are two locations to manage the...