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
18
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
•
How do you exclude the current node from a list view?
In some situations, for...
Andrew Fletcher
•
Images
For some time, when looking for images online for your app or site I have...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Adding an image via RESTUI can be done in a snap... once you know how! I...
Andrew Fletcher
•
Building a contact list using SwiftUI has many challenges.
One challenge is having multiple lists displayed on the one screen. For example, known contacts using your app against contacts on the phone. Initially, I tried the following code
SearchBarView(text: $searchText, placeholder: "Type here")
List {
Section(header: ContactListHeader(listTitle: "rivals list")) {
ForEach(self.userData.rivals.filter{
self.searchText.isEmpty ? true :
$0.name.lowercased()
...
Andrew Fletcher
•
Whatever you are coding - code clarity is your goal.
Before you scream and...
Andrew Fletcher
•
To create a .pem file, is quick once you have your .p12 certificate. I...
Andrew Fletcher
•
I had the issue where I needed to filter an array list by a specific column....
Andrew Fletcher
•
A handy resource list of fonts for iOS:
iOS Font List -...