Comments (8)
@32dantey Hello, thank you for reaching out. Unfortunately, I am still working on an migrating an existing app to this starter. Once it is finalized I will share here.
Alright thanks.
from react-native-template-obytes.
I don't think your problem is related to the template. Please run pnpm doctor
to check that all dependencies are aligned, and then try again. I can't reproduce your issue.
from react-native-template-obytes.
I switched to kali linux....new errors come up.
`dantey@dantey:~/Desktop/workspace/carea$ pnpm android
[email protected] android /home/dantey/Desktop/workspace/carea
expo run:android
✔ Created native project | gitignore skipped
✔ Updated package.json and added index.js entry point for iOS and Android
› Installing using pnpm
pnpm install
Using node to generate images. This is much slower than using native packages.
› Optionally you can stop the process and try again after successfully runningnpm install -g sharp-cli
.
✔ Config synced
› Building app...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Starting a Gradle Daemon, 2 busy Daemons could not be reused, use --status for details
Configuration on demand is an incubating feature.
Configure project :app
ℹ Applying gradle plugin 'expo-dev-launcher-gradle-plugin' ([email protected])
Configure project :expo-application
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-constants
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-dev-client
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-dev-launcher
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-dev-menu
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-dev-menu-interface
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-eas-client
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-file-system
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-font
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-image
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-json-utils
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-keep-awake
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-localization
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-manifests
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-modules-core
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-splash-screen
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-structured-headers
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-system-ui
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-updates
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo-updates-interface
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 thegradle.properties
file or use the new publishing DSL.
Configure project :expo
Using expo modules
- expo-application (5.1.1)
- expo-constants (14.2.1)
- expo-dev-client (2.2.1)
- expo-dev-launcher (2.2.1)
- expo-dev-menu (2.2.0)
- expo-eas-client (0.5.1)
- expo-file-system (15.2.2)
- expo-font (11.1.1)
- expo-image (1.0.0)
- expo-json-utils (0.5.1)
- expo-keep-awake (12.0.1)
- expo-localization (14.1.1)
- expo-manifests (0.5.2)
- expo-modules-core (1.2.7)
- expo-splash-screen (0.18.2)
- expo-structured-headers (3.1.1)
- expo-system-ui (2.2.1)
- expo-updates (0.16.4)
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-reanimated
AAR for react-native-reanimated has been found
/home/dantey/Desktop/workspace/carea/node_modules/react-native-reanimated/android/react-native-reanimated-71-hermes.aar
The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':expo', ':expo-modules-core'
The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':react-native-gesture-handler', ':react-native-screens'
Task :expo-constants:createDebugExpoConfig
Execution optimizations have been disabled for task ':expo-constants:createDebugExpoConfig' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:compileDebugAidl' 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: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:compileDebugRenderscript' 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: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:compileDebugShaders' 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: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:generateDebugBuildConfig' 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: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:generateDebugResValues' 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: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:javaPreCompileDebug' 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: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:mapDebugSourceSetPaths' 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: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:mergeDebugNativeDebugMetadata' 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: '/home/dantey/Desktop/workspace/carea/android'. Reason: Task ':expo-constants:createDebugExpoConfig' uses this output of task ':app:mergeDebugShaders' 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:processDebugMainManifest
package="com.carea.development" found in source AndroidManifest.xml: /home/dantey/Desktop/workspace/carea/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.
/home/dantey/Desktop/workspace/carea/android/app/src/debug/AndroidManifest.xml:21:9-30:20 Warning:
provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:21 to replace other declarations but no other declaration present
Task :expo-modules-core:configureCMakeDebug[arm64-v8a] FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
- What went wrong:
Execution failed for task ':expo-modules-core:configureCMakeDebug[arm64-v8a]'.
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
- 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.
==============================================================================
- Get more help at https://help.gradle.org
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 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 2m 23s
530 actionable tasks: 157 executed, 373 from cache
Error: /home/dantey/Desktop/workspace/carea/android/gradlew exited with non-zero code: 1
Error: /home/dantey/Desktop/workspace/carea/android/gradlew exited with non-zero code: 1
at ChildProcess.completionListener (/home/dantey/Desktop/workspace/carea/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 maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)
...
at Object.spawnAsync [as default] (/home/dantey/Desktop/workspace/carea/node_modules/@expo/cli/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
at spawnGradleAsync (/home/dantey/Desktop/workspace/carea/node_modules/@expo/cli/build/src/start/platforms/android/gradle.js:72:46)
at Object.assembleAsync (/home/dantey/Desktop/workspace/carea/node_modules/@expo/cli/build/src/start/platforms/android/gradle.js:52:18)
at runAndroidAsync (/home/dantey/Desktop/workspace/carea/node_modules/@expo/cli/build/src/run/android/runAndroidAsync.js:31:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
ELIFECYCLE Command failed with exit code 1.
dantey@dantey:~/Desktop/workspace/carea$ pnpm android --stacktrace
[email protected] android /home/dantey/Desktop/workspace/carea
expo run:android "--stacktrace"
CommandError: Unknown arguments: --stacktrace
ELIFECYCLE Command failed with exit code 1.
`
from react-native-template-obytes.
@32dantey Hey, here is the steps I followed to set up a new project using the starter :
- perform pnpm uninstall -g sharp-cli and then re-install with pnpm install -g sharp-cli
- Follow the Upgrading project dependencies section from the official documentation
from react-native-template-obytes.
Oooh I solved the issue with 'unset _JAVA_OPTIONS' COMMAND
Thank you for the help. This was tough for some time
from react-native-template-obytes.
@aimdexter Hello, I am currently perfecting my skills with app development with obytes starter. Do you have some open source code you have done I can use to learn the sarrer template?
from react-native-template-obytes.
@32dantey Hello, thank you for reaching out. Unfortunately, I am still working on an migrating an existing app to this starter. Once it is finalized I will share here.
from react-native-template-obytes.
@aimdexter Hello sir, did you finish on that app you were migrating and if yes may i have access to its code for learning purpose?
from react-native-template-obytes.
Related Issues (20)
- Env Build Time HOT 5
- tailwindcss(android) rebuilding... TypeError: style.declarations.findLast is not a function HOT 2
- Loading custom fonts natively does not seem to work HOT 4
- Failed to create the native directory when running `pnpm android` HOT 5
- Add support for React Native Reusables HOT 1
- The correct way to use tailwind HOT 1
- App quit unexpectedly. HOT 1
- adding darkMode : class is breaking UI on mobile. HOT 6
- You attempted to import the Node standard library module "path" from "env.js" HOT 7
- Unmatched Router Bug on build for ios/android but works fine on expo go app. HOT 2
- pnpm android gives an error: A problem occurred configuring project ':expo-modules-core' -> ../25.1.8937393 did not have a source.properties file HOT 2
- [question]Confusion about tab HOT 1
- Upgrade SVG package version to 15.3.0 HOT 1
- SyntaxError: Cannot use import statement outside a module HOT 2
- Internationalization: How to automatically generate key value pairs in the corresponding JSON file in the src/translations folder ?
- Tailwind/CSS classes are not being applied HOT 3
- Some GitHub Actions and WorkFlows is not working now.
- How to handle ENV variables for CI? HOT 4
- new-app-release issue HOT 2
- expo-dev-client doesn't work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-template-obytes.