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
143
results
Andrew Fletcher
•
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4 to 8.1. However, when I've attempted to export the MySQL database using the command
drush sql-dump --extra-dump=--no-tablespaces --result-file=../sql/db-2023-02-25.sqlI seeing the following response
> mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need (at least one of) the RELOAD or FLUSH_TABLES privilege(s) for this operation (1227)
In SqlCommands.php line 242:
Unable to dump...
Andrew Fletcher
•
Find by file name
To perform a find command in terminal use
find / -name...
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...
Andrew Fletcher
•
If you have a situation where either you have forgotten a Keystore password or change of developers and the password wasn't sent across.... what to do? However, your app lives on and needs to be updated!
Possible solutions
grade.properties
This is a great starting point. Have a look in your android/gradle.properties file. Unfortunately, the android/ directory didn't exist and I had to run the command prompt to generate. So no password!
signingConfigs {
release...
Andrew Fletcher
•
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
•
An approach to generating a backup server is using a shell script. A...
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 attempting to run or debug the application on Android Studio you can come across the error “Module not specified” in the Android Studio. This article will outline approaches I took to get a resolution to this issue.
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
Method 1 - Synchronise the project
Let's...
Andrew Fletcher
•
Working in Android Studio when attempting to run a project I had the following...
Andrew Fletcher
•
Creating a bash script
Bash scripts are files containing code that tell your...
Andrew Fletcher
•
Using the Drupal Poll module and passing via RESTful API - How do...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...