You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build failed when I tried to install release build onto android.
I initially set @sentry/react-native and followed all the specifications. But I have installed react-native-navigation and wizard did not all it should. So, I opened the manual installation section and add some code. Finally, I got changes:
1. settings.gradle
include ':react-native-sentry'
project(':react-native-sentry').projectDir = new File(rootProject.projectDir, '../node_modules/@sentry/react-native/android')
import io.sentry.RNSentryPackage;
...
return Arrays.<ReactPackage>asList(
new RNDeviceInfo(),
new AsyncStoragePackage(),
new SplashScreenReactPackage(),
+ new RNSentryPackage()
);
android/sentry.properties
...
cli.executable=node_modules/@sentry/cli/bin/sentry-cli // the path is correct
Steps to reproduce: react-native run-android --variant=release
Actual result:
> Tasak :app:bundleReleaseJsAndAssets_SentryUpload FAILED
Processing react-native sourcemaps for Sentry upload.
> Analyzing 2 sources
> Rewriting sources
> Adding source map references
67 actionable tasks: 5 executed, 62 up-to-date
error: project not found
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.
* Closing connection 0
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets_SentryUpload'.
> Process 'command 'node_modules/@sentry/cli/bin/sentry-cli'' finished with non-zero exit value 1
The text was updated successfully, but these errors were encountered:
OS:
Platform:
SDK:
@sentry/react-native
react-native-sentry
react-native
version: 0.61.5Init Code:
I have the following issue:
Build failed when I tried to install release build onto android.
I initially set @sentry/react-native and followed all the specifications. But I have installed react-native-navigation and wizard did not all it should. So, I opened the manual installation section and add some code. Finally, I got changes:
1.
settings.gradle
app/build.gradle
MailApplication.java
android/sentry.properties
Steps to reproduce:
react-native run-android --variant=release
Actual result:
The text was updated successfully, but these errors were encountered: