-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"compileDebugKotlin" Error when trying to build for android #47
Comments
Thank you for your interest and first issue. I don't know much about the Expo ecosystem, and I haven't used it recently, so I can't say for sure, but it seems like it would be pretty hard to use React Native's new architecture (Turbo Modules and Fabric Components) in an Expo-managed workflow app. You can consider the following approaches to resolve the issue:
|
I didn't use new architecture, so i can't say for sure about how can be hard to use the new architecture in Expo workflow.
Ok then, I'll keep trying to find an solution. If i do, I'll let you know. |
I got same error without expo and new architecture, but before this error i got this: `e: /Users/macbook/Documents/projects/project/node_modules/@dongminyu/react-native-step-counter/android/src/main/java/com/stepcounter/StepCounterModule.kt: (38, 26): Property getter or setter expected FAILURE: Build completed with 2 failures. 1: Task failed with an exception.
Original error looks like "StepCounterModule.kt: (38, 26): Property getter or setter expected" Maybe it will help with issue |
same problem
|
I thought it was simply an issue with trying to use this module in expo, but it looks like there's something wrong with the kotlin area. I'll try a few more things to reproduce and resolve this issue and let you know what I find. |
same here, in Bare workflow. |
Newest react native using kotlin '1.9.23', can you upgrade this library kotlin version? Maybe this will resolve the issue I got the same error. I upgraded React Native from 0.72 to 0.74 in the Expo Bare Workflow. It was actually stable in React Native 0.72, but when I upgraded, an error appeared:
FAILURE: Build failed with an exception.
|
I've successfully run the library on Expo Bare Workflow (React Native 0.74) with the following modifications: Changes Made:
|
React Native Step Counter New Issue
Expected Behavior
Actual Behavior
Steps to Reproduce the Problem
npx create-expo-app my-app --template tabs@50
npx expo install @dongminyu/react-native-step-counter
eas init
Create eas.json:
app.json:
eas build -e development -p android
Specifications
The text was updated successfully, but these errors were encountered: