Skip to main content

Drupal 9 to 10 upgrade an example of the actual steps taken

 

Continuing on from the Drupal 9 to Drupal 10 upgrade outline written earlier... Upgrading Drupal 9 to Drupal 10.  However, the point of difference is this article works through the actual action steps of the upgrade.

Planning and testing is critical for the Drupal to version 10 process to work successfully.  As some of the environments that I work in are deployed via CD/CI pipelines.

Class referenced in the manifest 'com.{app_name}.app.MainActivity' was not found in the project or the libraries

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 libraries

And the accompanying error

Unresolved class 'MainActivity'

 

error: pathspec did not match any file(s) known to git

Post creating a new branch in the repo, next step was to run the checkout command locally.  On my local environment I ran the following command

git checkout {branch-name}

However, the response was

error: pathspec '{branch-name}' did not match any file(s) known to git

 

Steps to creating an Android build using Android Studio

Each time a release is prepared for Google Play, the steps I work through are as follows.

 

Preparation to run a build

Check the Gradle build settings

Directed to the build.gradle file using the following file path

~/android/app/

The area of code in the build-gradle file to focus:

Subscribe to