I finally migrated an old project of mine from Eclipse/ADT to Android Studio (2021.3.1.17).
In the course of this migration, I fixed numerous issues stemming from outdated and deprecated methods and keywords that used to work perfectly on Android 2.2 (API 8) and did not produce any warnings on Eclipse/ADT.
But now, on Android Studio 2021.3, target SDK 33, I am getting this error in AndroidManifest.xml:
Class referenced in the manifest,
`com.google.android.voicesearch.DetailsReceiver`,
was not found in the project or the libraries
I combed Google for clues on how to fix this but apparently this DetailsReceiver
is so old that there really is no reference to it anymore.
How do eliminate this error in Android Studio? Is there a reference I can add to the module to make it go away?
Update: The package that used to include this DetailsReceiver
used be downloadable from market://details?id=com.google.android.voicesearch
. It no longer exists on Google Play.
If you search Google Play for com.google.android.voicesearch
you will get the following matches associated with Google LLC:
- Google Assistant
- Google Assistant Go
- Google Access
- Google Go
- Assistant
- I may have missed one...
I am confused. So many candidates for a direct replacement of com.google.android.voicesearch
but unclear documentation or information about this. Which downloadable package replaced it?
I am emphasizing "downloadable" because, on an out-of-box Google Pixel 4a (Android 11), PackagManager
cannot find RecognizerIntent.ACTION_RECOGNIZE_SPEECH
when queried.
The closest clue I have been able to find is in this SO thread: how to show up the google voice recognition settings in my app?
But I need a definitive clearer answer.
Any idea?
from Which library contains `com.google.android.voicesearch.DetailsReceiver` nowadays?
No comments:
Post a Comment