Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native 0.78 support #540

Open
Aamir0890 opened this issue Mar 18, 2025 · 2 comments
Open

react-native 0.78 support #540

Aamir0890 opened this issue Mar 18, 2025 · 2 comments

Comments

@Aamir0890
Copy link

Task :react-native-tts:processDebugManifest
package="net.no_mad.tts" found in source AndroidManifest.xml: C:\Users\user\Desktop\App\test\node_modules\react-native-tts\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="net.no_mad.tts" from the source AndroidManifest.xml: C:\Users\user\Desktop\App\test\node_modules\react-native-tts\android\src\main\AndroidManifest.xml.

Task :react-native-voice_voice:processDebugManifest
package="com.wenkesj.voice" found in source AndroidManifest.xml: C:\Users\user\Desktop\App\test\node_modules@react-native-voice\voice\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.wenkesj.voice" from the source AndroidManifest.xml: C:\Users\user\Desktop\App\test\node_modules@react-native-voice\voice\android\src\main\AndroidManifest.xml.

Task :app:processDebugMainManifest FAILED

just tried to install react-native/voice and tried running it locally
[Incubating] Problems report is available at: file:///C:/Users/user/Desktop/App/test/android/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.12/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
39 actionable tasks: 29 executed, 10 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugMainManifest'.

com.android.manifmerger.ManifestMerger2$MergeFailureException: Error parsing C:\Users\user\Desktop\App\test\android\app\src\main\AndroidManifest.xml

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 32s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugMainManifest'. > com.android.manifmerger.ManifestMerger2$MergeFailureException: Error parsing C:\Users\user\Desktop\App\test\android\app\src\main\AndroidManifest.xml * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 32s.
info Run CLI with --verbose flag for more details.

@Tanmay4477
Copy link

Are you sure that you are importing like "npm i @react-native-voice/voice"

@wevanyjohnny1
Copy link

Are you sure that you are importing like "npm i @react-native-voice/voice"

Pretty sure, also tried to use this lib in my expo 52 app and also tried rn-cli version 0.78, it works well in iOS but Android fails, so I downgraded to 0.75.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants