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
41
results
Andrew Fletcher
•
Finalising a deployment to Drupal 10 and reviewing the latest log messages.
Flysystem - $context is deprecated
Deprecated function: Creation of dynamic property Drupal\flysystem\FlysystemBridge::$context is deprecated in Drupal\Core\File\FileSystem->doScanDirectory() (line 720 of /var/www/html/content/core/lib/Drupal/Core/File/FileSystem.php)
#0 /var/www/html/content/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'Creation of dyn...', '/var/www/html/c...', 720)
#1...
Andrew Fletcher
•
Recently a client handed me code that runs an app through iOS and Android....
Andrew Fletcher
•
Only a month ago, running an app through the Android Studio emulator was running...
Andrew Fletcher
•
Warning from Google Play Store when uploading an App
You must complete the...
Andrew Fletcher
•
Uploading a new version of an Android app to Google Play and I'm seeing this...
Andrew Fletcher
•
Whilst uploading a new version of our Android app, I had the following error display
The Android App Bundle was not signed.The short answer is in the build type release debuggable isn't set to false.
How to solve
In the build.gradle file (path: android > app)
{
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable false
...
Andrew Fletcher
•
If you have a situation where either you have forgotten a Keystore password or...
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
•
Approaches to resolving “Module not specified” Error in Android Studio
When...
Andrew Fletcher
•
Working in Android Studio when attempting to run a project I had the following error
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: ERROR: APK path is not specified for module "android"
Tools
Tool
Version
Android Studio
Chipmunk | 2021.2.1
OS
OSX - Big Sur 11.6.7
Ionic
CLI 6.20.1
Node
18.0.0
Cordova
cli: 11.0.0
Approaches to resolving this issue
Rebuild project
First, rebuild the project
Build > Rebuild projectTry...
Andrew Fletcher
•
Using the Drupal Poll module and passing via RESTful API - How do...
Andrew Fletcher
•
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
•
How to use the Drupal REST API to trigger I've forgot (need to change) my...
Andrew Fletcher
•
To get the X-CSRF token, first, you need to login as a member. Follow the...