Closed pauliusguzas closed 1 year ago
canary.4 on arm, intel has same as above
[ success ] [run] Found active emulator! emulator-5554. Will use it
[ task ] [run] _runGradleApp[1]
β Executing: npx react-native run-android --mode=Debug --no-packager --deviceId=emulator-5554
β - Click "OK"info Building the app...
<=============>
> Task :react-native-gesture-handler:processDebugManifest
package="com.swmansion.gesturehandler" found in source AndroidManifest.xml: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/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 :react-native-gesture-handler:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 11) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
<======------->w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/noreanimated/src/main/java/com/swmansion/gesturehandler/ReanimatedEventDispatcher.kt: (7, 31): Parameter 'event' is never used
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/noreanimated/src/main/java/com/swmansion/gesturehandler/ReanimatedEventDispatcher.kt: (7, 41): Parameter 'reactApplicationContext' is never used
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandler.kt: (770, 11): Name shadowed: size > IDLE
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt: (9, 51): Unreachable code
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt: (10, 80): Unreachable code
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt: (80, 18): 'onChildStartedNativeGesture(MotionEvent!): Unit' is deprecated. Deprecated in Java
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt: (86, 42): Parameter 'disallowIntercept' is never used
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt: (118, 28): Parameter 'viewTag' is never used
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt: (7, 44): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt: (14, 11): 'init(Int): Unit' is deprecated. Deprecated in Java
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt: (30, 42): 'RCTEventEmitter' is deprecated. Deprecated in Java
w: /Users/buildminion3/Desktop/renative/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt: (31, 21): 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
<=======------>
> Task :react-native-gesture-handler:configureCMakeDebug[arm64-v8a]
C/C++: CMake Warning:
C/C++: Manually-specified variables were not used by the project:
C/C++: APP_BUILD_DIR
<==========--->
> Task :react-native-gesture-handler:configureCMakeDebug[armeabi-v7a]
C/C++: CMake Warning:
C/C++: Manually-specified variables were not used by the project:
C/C++: APP_BUILD_DIR
<==========--->
> Task :react-native-gesture-handler:configureCMakeDebug[x86]
C/C++: CMake Warning:
C/C++: Manually-specified variables were not used by the project:
C/C++: APP_BUILD_DIR
<==========--->
> Task :react-native-gesture-handler:configureCMakeDebug[x86_64]
C/C++: CMake Warning:
C/C++: Manually-specified variables were not used by the project:
C/C++: APP_BUILD_DIR
<==========--->
> Task :app:mergeDebugNativeLibs FAILED
<============->
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
> No space left on device
* Try: > IDLE
> 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
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.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4m 6s
75 actionable tasks: 70 executed, 5 up-to-date
β - Click "OK"
info π‘ Tip: Make sure that you have set up your development environment correctly, by running 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
β Ή - Click "OK"error Failed to build the app.
Error: Command failed with exit code 1: ./gradlew app:installDebug -x lint -PreactNativeDevServerPort=8083
at makeError (/Users/buildminion3/Desktop/renative/node_modules/execa/lib/error.js:60:11)
at Function.module.exports.sync (/Users/buildminion3/Desktop/renative/node_modules/execa/index.js:194:17)
at build (/Users/buildminion3/Desktop/renative/node_modules/@react-native-community/cli-platform-android/build/commands/buildAndroid/index.js:95:22)
at runOnSpecificDevice (/Users/buildminion3/Desktop/renative/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:205:33)
at buildAndRun (/Users/buildminion3/Desktop/renative/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:167:12)
at Object.runAndroid [as func] (/Users/buildminion3/Desktop/renative/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:100:10)
at Command.handleAction (/Users/buildminion3/Desktop/renative/node_modules/@react-native-community/cli/build/index.js:111:9)
info Run CLI with --verbose flag for more details.
COMMAND:
npx react-native run-android --mode=Debug --no-packager --deviceId=emulator-5554
FAILED with ERROR:
Command failed with exit code 1: npx react-native run-android --mode=Debug --no-packager --deviceId=emulator-5554
Error: Command failed with exit code 1: npx react-native run-android --mode=Debug --no-packager --deviceId=emulator-5554
at makeError (/Users/buildminion3/Desktop/renative/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/buildminion3/Desktop/renative/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
$ rnv run -p android - Done! π
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π SUMMARY | 10/13/2023, 3:02:21β―PM β
β $ rnv run -p android β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β ReNative Version: 1.0.0-canary.4 β
β Project Name ($package.name): @rnv/template-starter β
β Project Version ($package.version): 1.0.0-canary.4 β
β Workspace ($.workspaceID): rnv β
β Platform (-p): android β
β Engine ($.platforms.android.engine): engine-rn β
β App Config (-c): template β
β Build Scheme (-s): debug β
β Target (-t): Nexus_5X_API_26 β
β Supported Platforms: android β
β Env Info: darwin | x64 | node v18.14.2 β
β Executed Time: 0h:7m:55s:915ms β
β β
β [ error ] [configure] Cannot write file. source path doesn't exists: /Users/buildminion3/Desktop/renative/packages/engine-rn/templates/platforms/android/app/src/main/java/rnv/SplashActivity.kt
β [ success ] [run] Found active emulator! emulator-5554. Will use it
β β
β Project location: β
β ./platformBuilds/template_android β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
buildminion3@Builds-Mac-mini template-starter %
Closing as not relevant
Describe the bug Can't run app on simulator (sanity_1.0.0-1 tag). DEVICE WORKS
To Reproduce
rnv run -p android
Expected behavior Template app should start in Android simulator
Desktop (please complete the following information):