Closed sashank003 closed 1 year ago
This is the error I'm getting while building the apk(the apk is built successfully with the errors but it crashes on installing)
What's the stacktrace?
@cortinico got this on running ./gradlew installRelease --stacktrace
Configure project :react-native-blob-util WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the
gradle.properties
file or use the new publishing DSL.Configure project :react-native-charts-wrapper WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.
Configure project :react-native-reanimated AAR for react-native-reanimated has been found /Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/node_modules/react-native-reanimated/android/react-native-reanimated-70-hermes.aar
Task :app:bundleReleaseJsAndAssets Execution optimizations have been disabled for task ':app:bundleReleaseJsAndAssets' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-blob-util:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-blob-util:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-charts-wrapper:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-charts-wrapper:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_datetimepicker:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_datetimepicker:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_slider:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-community_slider:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-gesture-handler:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-gesture-handler:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-linear-gradient:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-linear-gradient:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-localization:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-localization:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-masked-view_masked-view:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-masked-view_masked-view:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-orientation-locker:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-orientation-locker:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-pdf:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-pdf:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-safe-area-context:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-safe-area-context:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-screens:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-screens:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-svg:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-svg:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-vector-icons:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-vector-icons:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-video:compileReleaseAidl' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile'. Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-video:packageReleaseRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem. warning: the transform cache was reset. Welcome to Metro v0.72.3 Fast - Scalable - Integrated
info Writing bundle output to:, /Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle
info Writing sourcemap output to:, /Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/intermediates/sourcemaps/react/release/index.android.bundle.packager.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 179 asset files
info Done copying assets
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:4305:7: warning: the variable "setTimeout" was not declared in function "logCapturedError"
setTimeout(function () {
^~~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:2939:21: warning: the variable "clearTimeout" was not declared in anonymous function " 92#"
cancelTimeout = clearTimeout;
^~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:6763:30: warning: the variable "REACT_DEVTOOLS_GLOBAL_HOOK" was not declared in anonymous function " 92#"
if ("undefined" !== typeof REACT_DEVTOOLS_GLOBAL_HOOK) {
^~~~~~~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:6778:146: warning: the variable "nativeFabricUIManager" was not declared in anonymous function " 121#"
null != handle._nativeTag && (null != handle._internalInstanceHandle ? (handle = handle._internalInstanceHandle.stateNode, null != handle && nativeFabricUIManager.dispatchCommand(handle.node, command, args)) : ReactNativePrivateInterface.UIManager.dispatchViewManagerCommand(handle._nativeTag, command, args));
^~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:7856:23: warning: the variable "DebuggerInternal" was not declared in function "__shouldPauseOnThrow"
return typeof DebuggerInternal !== 'undefined' && DebuggerInternal.shouldPauseOnThrow === true;
^~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:8288:16: warning: the variable "AggregateError" was not declared in function "getAggregateError"
if (typeof AggregateError === 'function') {
^~~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:8410:5: warning: the variable "setImmediate" was not declared in function "handleResolved"
setImmediate(function () {
^~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11272:12: warning: the variable "fetch" was not declared in anonymous function " 322#"
fetch: fetch,
^~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11273:14: warning: the variable "Headers" was not declared in anonymous function " 322#"
Headers: Headers,
^~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11274:14: warning: the variable "Request" was not declared in anonymous function " 322#"
Request: Request,
^~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11275:15: warning: the variable "Response" was not declared in anonymous function " 322#"
Response: Response
^~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11423:24: warning: the variable "FileReader" was not declared in function "readBlobAsArrayBuffer"
var reader = new FileReader();
^~~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11460:36: warning: the variable "Blob" was not declared in anonymous function " 333#"
} else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
^~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11462:40: warning: the variable "FormData" was not declared in anonymous function " 333#"
} else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
^~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11464:44: warning: the variable "URLSearchParams" was not declared in anonymous function " 333#"
} else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
^~~~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11691:23: warning: the variable "XMLHttpRequest" was not declared in anonymous function " 342#"
var xhr = new XMLHttpRequest();
^~~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:11284:76: warning: the variable "self" was not declared in anonymous function " 325#"
var global = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global;
^~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:18390:27: warning: the variable "performance" was not declared in anonymous function " 490#"
if ("object" === typeof performance && "function" === typeof performance.now) {
^~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:18413:26: warning: the variable "navigator" was not declared in anonymous function " 490#"
"undefined" !== typeof navigator && undefined !== navigator.scheduling && undefined !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
^~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:18480:37: warning: the variable "MessageChannel" was not declared in anonymous function " 490#"
};else if ("undefined" !== typeof MessageChannel) {
^~~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:26433:34: warning: the variable "requestAnimationFrame" was not declared in function "start 10#"
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
^~~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:77636:42: warning: the variable "Element" was not declared in function "equal"
if (hasElementType && a instanceof Element && b instanceof Element) return a === b;
^~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:100231:20: warning: the variable "location" was not declared in function "URI"
if (typeof location !== 'undefined') {
^~~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:129561:17: warning: the variable "TextDecoder" was not declared in anonymous function " 5096#"
if (TextDecoder === undefined) {
^~~
/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/generated/assets/react/release/index.android.bundle:129778:16: warning: the variable "AbortController" was not declared in function "createSignalIfSupported"
if (typeof AbortController === 'undefined') return {
^~~~~~~
Task :app:compressReleaseAssets Execution optimizations have been disabled for task ':app:compressReleaseAssets' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/Users/u1108355/Desktop/myAchondroplasia/my_achondroplasia_mobile/android/app/build/intermediates/assets/release/mergeReleaseAssets'. Reason: Task ':app:compressReleaseAssets' uses this output of task ':app:copyReleaseBundledJs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Task :app:installRelease Installing APK 'app-release.apk' on 'Pixel_5_API_29(AVD) - 10' for :app:release Installed on 1 device.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 2 invalid unit(s) of work during this build to ensure correctness. Please consult deprecation warnings for more details.
@cortinico got this on running ./gradlew installRelease --stacktrace
I meant the stacktrace when running your app from adb logcat
@cortinico
01-18 18:29:08.968 1796 1919 W audio_hw_generic: Not supplying enough data to HAL, expected position 1269546 , only wrote 1132954
01-18 18:29:10.149 2049 3067 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myAchondroplasia/.MainActivity bnds=[238,912][439,1236]} from uid 10108
01-18 18:29:10.154 1796 5466 W audio_hw_generic: Not supplying enough data to HAL, expected position 1133062 , only wrote 1132954
01-18 18:29:10.164 2049 2049 W ActivityManager: Unable to start service Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } U=0: not found
01-18 18:29:10.164 2049 2049 W RemoteAppPredictionService: could not bind to Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } using flags 67108865
01-18 18:29:10.170 2049 3067 W InputReader: Device has associated, but no associated display id.
01-18 18:29:10.170 2049 3067 I chatty : uid=1000(system) Binder:2049_C identical 8 lines
01-18 18:29:10.170 2049 3067 W InputReader: Device has associated, but no associated display id.
01-18 18:29:10.174 1809 1854 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 10108928
01-18 18:29:10.180 1790 1790 D Zygote : Forked child process 6012
01-18 18:29:10.186 6012 6012 I yAchondroplasi: Late-enabling -Xcheck:jni
01-18 18:29:10.196 2049 2078 I ActivityManager: Start proc 6012:com.myAchondroplasia/u0a148 for activity {com.myAchondroplasia/com.myAchondroplasia.MainActivity}
01-18 18:29:10.201 6012 6012 E yAchondroplasi: Unknown bits set in runtime_flags: 0x8000
01-18 18:29:10.202 6012 6012 W yAchondroplasi: Unexpected CPU variant for X86 using defaults: x86
01-18 18:29:10.219 1809 1854 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 10108928
01-18 18:29:10.229 2049 2144 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (306, 1083) in display 0.
01-18 18:29:10.243 2049 4453 W InputReader: Device has associated, but no associated display id.
01-18 18:29:10.246 2049 4453 I chatty : uid=1000(system) Binder:2049_10 identical 28 lines
01-18 18:29:10.246 2049 4453 W InputReader: Device has associated, but no associated display id.
01-18 18:29:10.250 2049 2072 W InputReader: Device has associated, but no associated display id.
01-18 18:29:10.250 2049 2072 I chatty : uid=1000(system) android.anim identical 8 lines
01-18 18:29:10.250 2049 2072 W InputReader: Device has associated, but no associated display id.
01-18 18:29:10.317 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.319 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe6d51240
01-18 18:29:10.334 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.337 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe7212e40
01-18 18:29:10.351 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.353 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe6d511e0
01-18 18:29:10.368 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.370 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe6d51240
01-18 18:29:10.383 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.386 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe7212e40
01-18 18:29:10.401 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.406 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe6d511e0
01-18 18:29:10.408 6012 6012 W yAchondroplasi: Accessing hidden method Ldalvik/system/BaseDexClassLoader;->getLdLibraryPath()Ljava/lang/String; (greylist,core-platform-api, reflection, allowed)
01-18 18:29:10.417 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.419 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe6d51240
01-18 18:29:10.434 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.436 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe7212e40
01-18 18:29:10.450 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.453 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe6d511e0
01-18 18:29:10.466 6012 6012 V SoLoader: libjscexecutor.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.466 6012 6012 V SoLoader: libjscexecutor.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.466 6012 6012 V SoLoader: libjscexecutor.so not found on /vendor/lib
01-18 18:29:10.466 6012 6012 V SoLoader: libjscexecutor.so not found on /system/lib
01-18 18:29:10.467 6012 6012 E SoLoader: couldn't find DSO to load: libjscexecutor.so
01-18 18:29:10.467 6012 6012 E SoLoader: SoSource 0: com.facebook.soloader.DirectorySoSource[root = /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86 flags = 0]
01-18 18:29:10.467 6012 6012 E SoLoader: SoSource 1: com.facebook.soloader.DirectApkSoSource[root = (/data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86, )]
01-18 18:29:10.467 6012 6012 E SoLoader: SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
01-18 18:29:10.467 6012 6012 E SoLoader: SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
01-18 18:29:10.467 6012 6012 E SoLoader: Native lib dir: /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.467 6012 6012 E SoLoader: result: 0
01-18 18:29:10.468 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.469 6012 6012 V SoLoader: libhermes.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.471 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe6d51240
01-18 18:29:10.473 6012 6012 V SoLoader: liblog.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.474 6012 6012 V SoLoader: liblog.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.474 6012 6012 V SoLoader: liblog.so not found on /vendor/lib
01-18 18:29:10.474 6012 6012 D SoLoader: liblog.so found on /system/lib
01-18 18:29:10.474 6012 6012 D SoLoader: liblog.so loaded implicitly
01-18 18:29:10.474 6012 6012 V SoLoader: libm.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.474 6012 6012 V SoLoader: libm.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.474 6012 6012 V SoLoader: libm.so not found on /vendor/lib
01-18 18:29:10.474 6012 6012 D SoLoader: libm.so found on /system/lib
01-18 18:29:10.474 6012 6012 D SoLoader: libm.so loaded implicitly
01-18 18:29:10.474 6012 6012 V SoLoader: libdl.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.474 6012 6012 V SoLoader: libdl.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.474 6012 6012 V SoLoader: libdl.so not found on /vendor/lib
01-18 18:29:10.474 6012 6012 D SoLoader: libdl.so found on /system/lib
01-18 18:29:10.474 6012 6012 D SoLoader: libdl.so loaded implicitly
01-18 18:29:10.474 6012 6012 V SoLoader: libc.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.474 6012 6012 V SoLoader: libc.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.474 6012 6012 V SoLoader: libc.so not found on /vendor/lib
01-18 18:29:10.474 6012 6012 D SoLoader: libc.so found on /system/lib
01-18 18:29:10.474 6012 6012 D SoLoader: libc.so loaded implicitly
01-18 18:29:10.478 6012 6012 D SoLoader: libhermes.so found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.478 6012 6012 V SoLoader: libhermes-executor-debug.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.478 6012 6012 V SoLoader: libhermes-executor-debug.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.478 6012 6012 V SoLoader: libhermes-executor-debug.so not found on /vendor/lib
01-18 18:29:10.478 6012 6012 V SoLoader: libhermes-executor-debug.so not found on /system/lib
01-18 18:29:10.479 6012 6012 E SoLoader: couldn't find DSO to load: libhermes-executor-debug.so
01-18 18:29:10.479 6012 6012 E SoLoader: SoSource 0: com.facebook.soloader.DirectorySoSource[root = /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86 flags = 0]
01-18 18:29:10.479 6012 6012 E SoLoader: SoSource 1: com.facebook.soloader.DirectApkSoSource[root = (/data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86, )]
01-18 18:29:10.479 6012 6012 E SoLoader: SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
01-18 18:29:10.479 6012 6012 E SoLoader: SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
01-18 18:29:10.479 6012 6012 E SoLoader: Native lib dir: /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.479 6012 6012 E SoLoader: result: 0
01-18 18:29:10.479 6012 6012 V SoLoader: libhermes-executor-release.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.483 1810 1878 W EmuHWC2 : validate: layer 26 CompositionType 1, fallback
01-18 18:29:10.485 1810 1878 W EmuHWC2 : No layers, exit, buffer 0xe7212e40
01-18 18:29:10.487 6012 6012 V SoLoader: libandroid.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/lib/x86
01-18 18:29:10.487 6012 6012 V SoLoader: libandroid.so not found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.487 6012 6012 V SoLoader: libandroid.so not found on /vendor/lib
01-18 18:29:10.487 6012 6012 D SoLoader: libandroid.so found on /system/lib
01-18 18:29:10.487 6012 6012 D SoLoader: libandroid.so loaded implicitly
01-18 18:29:10.491 6012 6012 D SoLoader: libhermes-executor-release.so found on /data/app/com.myAchondroplasia-G2fZ_chTOfMrNRXM4mIZiw==/base.apk!/lib/x86
01-18 18:29:10.493 6012 6012 D AndroidRuntime: Shutting down VM
01-18 18:29:10.495 6012 6012 E AndroidRuntime: FATAL EXCEPTION: main
01-18 18:29:10.495 6012 6012 E AndroidRuntime: Process: com.myAchondroplasia, PID: 6012
01-18 18:29:10.495 6012 6012 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.myAchondroplasia.MainApplication: java.lang.RuntimeException: Requested enabled DevSupportManager, but BridgeDevSupportManager class was not found or could not be created
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6465)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at android.app.ActivityThread.access$1300(ActivityThread.java:219)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: Caused by: java.lang.RuntimeException: Requested enabled DevSupportManager, but BridgeDevSupportManager class was not found or could not be created
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at com.facebook.react.devsupport.DefaultDevSupportManagerFactory.create(DefaultDevSupportManagerFactory.java:97)
01-18 18:29:10.495 6012 6012 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.
+1 Having this problem as well.
This is a duplicate of https://github.com/facebook/react-native/issues/9043
The error message is:
E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.myAchondroplasia.MainApplication: java.lang.RuntimeException: Requested enabled DevSupportManager, but BridgeDevSupportManager class was not found or could not be created
You're probably having proguard misconfigured. To help you further now we need a reproducer
:warning: | Missing Reproducible Example |
---|---|
:information_source: | It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner. |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Description
My app is crashing after i build and install it for android or use release mode in emulator from last few days. Earlier build were working fine. React native version -> 0.70.6 This is the error I'm getting while building the apk(the apk is built successfully with the errors but it crashes on installing)
WARNING:R8: Missing class android.media.Spatializer$OnSpatializerStateChangedListener (referenced from: android.media.Spatializer$OnSpatializerStateChangedListener com.google.android.exoplayer2.trackselection.DefaultTrackSelector$SpatializerWrapperV32.listener and 3 other contexts) Missing class android.media.Spatializer (referenced from: android.media.Spatializer com.google.android.exoplayer2.trackselection.DefaultTrackSelector$SpatializerWrapperV32.spatializer and 7 other contexts)
Version
0.70.6
Output of
npx react-native info
System: OS: macOS 12.6.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 234.27 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.13.0 - /usr/local/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 8.1.0 - /usr/local/bin/npm Watchman: 2022.11.28.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: API Levels: 23, 28, 29, 30, 31, 32, 33 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 32.0.0 System Images: android-29 | Android TV Intel x86 Atom, android-29 | ARM 64 v8a, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs ARM 64 v8a, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play ARM 64 v8a, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9123335 Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 12.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.6 => 0.70.6 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
build apk or run in emulator with --variant=release for android
Snack, code example, screenshot, or link to a repository
react-native run-android --variant=release