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
15
results
Andrew Fletcher
•
How to generate a new private key and submit it to Google Play for signing your Android app, you can follow these steps:
Generate a New Keystore (Private Key)
You can generate a new keystore file (which includes the private key) using the keytool utility that comes with the Java Development Kit (JDK). Open a command prompt or terminal and run the following command to generate a new keystore:
keytool -genkeypair -v -keystore your-keystore-name.keystore -keyalg RSA -keysize 2048 -validity 10000...
Andrew Fletcher
•
The error
> Task :app:packageDebug FAILED
Execution failed for task...
Andrew Fletcher
•
Each time a release is prepared for Google Play, the steps I work through are as...
Andrew Fletcher
•
Attempting to run a preview, and I'm seeing the following error in Android...
Andrew Fletcher
•
Resources
Type
Version
Android Studio
Android Studio Giraffe | 2022.3.1...
Andrew Fletcher
•
Updating the Android app and while testing I'm seeing the following error in the AndroidManifest.xml file
Class referenced in the manifest, `com.{app_name}.app.MainActivity`, was not found in the project or the librariesAnd the accompanying error
Unresolved class 'MainActivity'
Working through the suggestions
Invalidate caches
To invalidate the caches do the following
File > Invalidate caches / restartOutcome: error remained
2. Restart Android Studio
Another suggestion was to...
Andrew Fletcher
•
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
•
Working on a decoupled React / Drupal 9 site.
Aim: Adjust the output of curated...
Andrew Fletcher
•
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
The cache system in Drupal 9 delivers the API with the elements required for creation, storage and invalidation of cached data. Drupal is structured so initially data is stored in the database. Whereas, files are stored in the following directories:
sites/default/files/css
sites/default/files/js
sites/default/files/phpFocusing on database storage, from a performance perspective the default cache is managed via the admin interface
admin/config/development/performanceOn this page,...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using...
Andrew Fletcher
•
Clear DNS Cache
The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is...