Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
(Three day problem: configureCMakeDebug[arm64-v8a) Help me not to get an F on the test
Post Flair (click to view more posts with a particular flair)
Post Body

Hi guys, I study computer engineering and one of my assignments for the semester is to create an app, with react native, so I'm new to this area, I've been studying for about 3 days (so be kind, and if you need for more information, just ask and I will send it).
I've been having a problem for a few days now and I can't solve it in any way, I hope you can help me
Context: I'm trying to use a different font in my project, I tried the most native way possible, creating the fonts file within assets, using expo-font and adding its path to the app.json file, when using the npx expo start command and the warning "not a system font" opened in expo go and it was not loaded. Then I discovered that I needed to give npx expo prebuild and then npx expo run:android

But I didn't have an Android emulator, so I downloaded Android Studio, and that's where my biggest problem began. I can create a project normally in Android Studio, I can even open the emulator normally, but when I use run:android I get this error error:

> Task :expo-modules-core:configureCMakeDebug[arm64-v8a] FAILED

Task :expo:compileDebugKotlinw: file:///C:/Users/Public/ViaSegura/node_modules/expo/android/src/main/java/expo/modules/ReactActivityDelegateWrapper.kt:139:50 No cast neededFAILURE: Build failed with an exception.* What went wrong: Execution failed for task ':expo-modules-core:configureCMakeDebug[arm64-v8a]'. > [CXX1429] error when building with cmake using C:\Users\Public\ViaSegura\node_modules\expo-modules-core\android\CMakeLists.txt: C build system [prefab] failed while executing

Complete error: https://pastebin.com/jkpDih1b

Additional info

JDK: 17 
Gradle: 8.7 (I downloaded it from the website and created the directory: "C:Gradle" and extracted the files inside)
Node: 21.7.1
Windows 10
Using Visual Studio

Environment variables:
ANDROID_HOME= C:\Users\Public\Android\Sdk
JAVA_HOME= C:\Program Files\Java\jdk-17 
PATH's:
1. C:\Users\Public\Android\Sdk\platform-tools
2. C:\Gradle\gradle-8.7\bin
3. C:\Users\Public\Android\Sdk\emulator
4. C:\Users\Public\Android\Sdk\tools\bin
5. C:\Users\Public\Android\Sdk\platform-tools
6. C:\Users\Public\Android\Sdk\tools
7.C:\Gradle\gradle-8.7

Author
Account Strength
40%
Account Age
10 months
Verified Email
Yes
Verified Flair
No
Total Karma
13
Link Karma
2
Comment Karma
11
Profile updated: 19 hours ago
Posts updated: 1 week ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 months ago