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
I have the following error when I "npx expo run:android". Can you please help ?
I am using a default expo-dev-client with the lastest libs.
Task :ffmpeg-kit-react-native:processDebugManifest
package="com.arthenica.ffmpegkit.reactnative" found in source AndroidManifest.xml: D:_P\dev\react\reactnative\Misc\fs1\node_modules\ffmpeg-kit-react-native\android\src\main\AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
Task :app:processDebugMainManifest FAILED
package="com.fs1" found in source AndroidManifest.xml: D:_P\dev\react\reactnative\Misc\fs1\android\app\src\main\AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
D:_P\dev\react\reactnative\Misc\fs1\android\app\src\debug\AndroidManifest.xml Error:
uses-sdk:minSdkVersion 21 cannot be smaller than version 24 declared in library [:ffmpeg-kit-react-native] D:_P\dev\react\reactnative\Misc\fs1\node_modules\ffmpeg-kit-react-native\android\build\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 21
Suggestion: use a compatible library with a minSdk of at most 21,
or increase this project's minSdk version to at least 24,
or use tools:overrideLibrary="com.arthenica.ffmpegkit.reactnative" to force usage (may lead to runtime failures)
What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 21 cannot be smaller than version 24 declared in library [:ffmpeg-kit-react-native] D:_P\dev\react\reactnative\Misc\fs1\node_modules\ffmpeg-kit-react-native\android\build\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 21
Suggestion: use a compatible library with a minSdk of at most 21,
or increase this project's minSdk version to at least 24,
or use tools:overrideLibrary="com.arthenica.ffmpegkit.reactnative" to force usage (may lead to runtime failures)
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.
==============================================================================
2: Task failed with an exception.
What went wrong:
java.lang.StackOverflowError (no error message)
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.
==============================================================================
BUILD FAILED in 1m 50s
76 actionable tasks: 23 executed, 48 from cache, 5 up-to-date
Error: D:_P\dev\react\reactnative\Misc\fs1\android\gradlew.bat exited with non-zero code: 1
Error: D:_P\dev\react\reactnative\Misc\fs1\android\gradlew.bat exited with non-zero code: 1
at ChildProcess.completionListener (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\node_modules@expo\spawn-async\build\spawnAsync.js:52:23)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at cp.emit (D:_P\dev\react\reactnative\Misc\fs1\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)
...
at Object.spawnAsync [as default] (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\node_modules@expo\spawn-async\build\spawnAsync.js:17:21)
at spawnGradleAsync (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\build\src\start\platforms\android\gradle.js:72:46)
at Object.assembleAsync (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\build\src\start\platforms\android\gradle.js:52:18)
at runAndroidAsync (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\build\src\run\android\runAndroidAsync.js:31:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
PS D:_P\dev\react\reactnative\Misc\fs1>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the following error when I "npx expo run:android". Can you please help ?
I am using a default expo-dev-client with the lastest libs.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Execution failed for task ':app:processDebugMainManifest'.
2: Task failed with an exception.
What went wrong:
java.lang.StackOverflowError (no error message)
Try:
BUILD FAILED in 1m 50s
76 actionable tasks: 23 executed, 48 from cache, 5 up-to-date
Error: D:_P\dev\react\reactnative\Misc\fs1\android\gradlew.bat exited with non-zero code: 1
Error: D:_P\dev\react\reactnative\Misc\fs1\android\gradlew.bat exited with non-zero code: 1
at ChildProcess.completionListener (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\node_modules@expo\spawn-async\build\spawnAsync.js:52:23)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at cp.emit (D:_P\dev\react\reactnative\Misc\fs1\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)
...
at Object.spawnAsync [as default] (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\node_modules@expo\spawn-async\build\spawnAsync.js:17:21)
at spawnGradleAsync (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\build\src\start\platforms\android\gradle.js:72:46)
at Object.assembleAsync (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\build\src\start\platforms\android\gradle.js:52:18)
at runAndroidAsync (D:_P\dev\react\reactnative\Misc\fs1\node_modules@expo\cli\build\src\run\android\runAndroidAsync.js:31:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
PS D:_P\dev\react\reactnative\Misc\fs1>
Beta Was this translation helpful? Give feedback.
All reactions