Before posting your question, make sure you’ve read the documentation for both EAS Build & Submit.
In your post, please share:
- Whether you are bare or managed workflow
- Your
eas-cli
version >= 5.4.0 - What you have tried so far
Hi i am trying to build app , but it is giving fallowing error,
> Task :expo-splash-screen:createFullJarRelease
831
> Task :react-native-reanimated:configureCMakeRelWithDebInfo[x86]
832
> Task :app:createBundleReleaseJsAndAssets
833
info Writing bundle output to:, /home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle
834
info Writing sourcemap output to:, /home/expo/workingdir/build/android/app/build/intermediates/sourcemaps/react/release/index.android.bundle.packager.map
835
info Done writing bundle output
836
info Done writing sourcemap output
837
info Copying 42 asset files
838
info Done copying assets
839
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:2680:18: warning: the variable "DebuggerInternal" was not declared in function "__shouldPauseOnThrow"
840
typeof DebuggerInternal !== 'undefined' &&
841
^~~~~~~~~~~~~~~~
842
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:11515:7: warning: the variable "setTimeout" was not declared in function "logCapturedError"
843
setTimeout(function () {
844
^~~~~~~~~~
845
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:9475:108: warning: the variable "nativeFabricUIManager" was not declared in function "onChange"
846
...lInstanceHandle ? (from && nativeFabricUIManager.setIsJSResponder(from.sta...
847
^~~~~~~~~~~~~~~~~~~~~
848
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:10096:21: warning: the variable "clearTimeout" was not declared in anonymous function " 264#"
849
cancelTimeout = clearTimeout;
850
^~~~~~~~~~~~
851
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:13846:30: warning: the variable "__REACT_DEVTOOLS_GLOBAL_HOOK__" was not declared in anonymous function " 264#"
852
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
853
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:15731:5: warning: the variable "setImmediate" was not declared in function "handleResolved"
855
setImmediate(function () {
856
^~~~~~~~~~~~
857
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:19907:12: warning: the variable "fetch" was not declared in anonymous function " 499#"
858
fetch: fetch,
859
^~~~~
860
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:19908:14: warning: the variable "Headers" was not declared in anonymous function " 499#"
861
Headers: Headers,
862
^~~~~~~
863
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:19909:14: warning: the variable "Request" was not declared in anonymous function " 499#"
864
Request: Request,
865
^~~~~~~
866
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:19910:15: warning: the variable "Response" was not declared in anonymous function " 499#"
867
Response: Response
868
^~~~~~~~
869
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:20067:24: warning: the variable "FileReader" was not declared in function "readBlobAsArrayBuffer"
870
var reader = new FileReader();
871
^~~~~~~~~~
872
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:20118:36: warning: the variable "Blob" was not declared in anonymous function " 510#"
873
} else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
874
^~~~
875
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:20120:40: warning: the variable "FormData" was not declared in anonymous function " 510#"
876
} else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
877
^~~~~~~~
878
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:20122:44: warning: the variable "URLSearchParams" was not declared in anonymous function " 510#"
879
...e if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body...
880
^~~~~~~~~~~~~~~
881
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:20241:26: warning: the variable "AbortController" was not declared in anonymous function " 516#"
882
var ctrl = new AbortController();
883
^~~~~~~~~~~~~~~
884
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:20374:23: warning: the variable "XMLHttpRequest" was not declared in anonymous function " 520#"
885
var xhr = new XMLHttpRequest();
886
^~~~~~~~~~~~~~
887
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:19920:71: warning: the variable "self" was not declared in anonymous function " 502#"
888
...undefined' && globalThis || typeof self !== 'undefined' && self ||
889
^~~~
890
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:24791:27: warning: the variable "performance" was not declared in anonymous function " 711#"
891
if ("object" === typeof performance && "function" === typeof performance.no...
892
^~~~~~~~~~~
893
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:24814:26: warning: the variable "navigator" was not declared in anonymous function " 711#"
894
"undefined" !== typeof navigator && undefined !== navigator.scheduling && u...
895
^~~~~~~~~
896
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:24924:37: warning: the variable "MessageChannel" was not declared in anonymous function " 711#"
897
};else if ("undefined" !== typeof MessageChannel) {
898
^~~~~~~~~~~~~~
899
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:24939:34: warning: the variable "nativeRuntimeScheduler" was not declared in anonymous function " 711#"
900
... = "undefined" !== typeof nativeRuntimeScheduler ? nativeRuntimeScheduler....
901
^~~~~~~~~~~~~~~~~~~~~~
902
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle:36959:34: warning: the variable "requestAnimationFrame" was not declared in function "start 9#"
903
... this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
904
^~~~~~~~~~~~~~~~~~~~~
905
/home/expo/workingdir/build/android/app/build/generated/assets/createBundleReleaseJsAndAssets/index.android.bundle
906
:62309:26: warning: Direct call to eval(), but lexical scope is not supported.
907
workletFun = eval('(' + initData.code + '\n)');
908
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
909
> Task :expo-modules-core:buildCMakeRelWithDebInfo[armeabi-v7a]
910
> Task :expo-modules-core:configureCMakeRelWithDebInfo[x86]
911
> Task :app:generateReleaseResValues
912
> Task :app:mapReleaseSourceSetPaths
913
> Task :app:generateReleaseResources
914
> Task :react-native-reanimated:buildCMakeRelWithDebInfo[x86]
915
> Task :app:createReleaseCompatibleScreenManifests
916
> Task :app:extractDeepLinksRelease
917
> Task :app:extractProguardFiles
918
> Task :app:mergeReleaseJniLibFolders
919
> Task :app:checkReleaseDuplicateClasses
920
> Task :app:desugarReleaseFileDependencies
921
> Task :react-native-reanimated:configureCMakeRelWithDebInfo[x86_64]
922
> Task :expo-modules-core:buildCMakeRelWithDebInfo[x86]
923
> Task :app:mergeReleaseResources
924
> Task :app:mergeReleaseResources FAILED
925
> Task :app:mergeExtDexRelease
926
> Task :react-native-reanimated:buildCMakeRelWithDebInfo[x86_64]
927
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions
928
406 actionable tasks: 406 executed
929
FAILURE: Build failed with an exception.
930
* What went wrong:
931
Execution failed for task ':app:mergeReleaseResources'.
932
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
933
> Android resource compilation failed
934
ERROR:/home/expo/workingdir/build/android/app/build/generated/res/createBundleReleaseJsAndAssets/drawable-mdpi/src_images_homeheaderlogo.png: AAPT: error: file failed to compile.
935
936
* Try:
937
> Run with --stacktrace option to get the stack trace.
938
> Run with --info or --debug option to get more log output.
939
> Run with --scan to get full insights.
940
* Get more help at https://help.gradle.org
941
BUILD FAILED in 8m 8s
942
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.